tcrosswell
IS-IT--Management
I have this element
XML document
<article> This is my article where I will discuss a few ideas about XML and XSL. Please read </article>
But I want XML and XSL to be bold and preferable links so would I do:
XML document
<article> This is my article where I will discuss a few ideas about <bold>XML</bold> and <bold>XSL</bold>. Please read </article>
so my DTD would have to be
<!ELEMENT article (#PCDATA,bold)>
<!ELEMENT bold(#PCDATA)>
Now how would I write the xsl for this? is this the best/only way to do it? How would I do this for a link?
Thanks
Tom
XML document
<article> This is my article where I will discuss a few ideas about XML and XSL. Please read </article>
But I want XML and XSL to be bold and preferable links so would I do:
XML document
<article> This is my article where I will discuss a few ideas about <bold>XML</bold> and <bold>XSL</bold>. Please read </article>
so my DTD would have to be
<!ELEMENT article (#PCDATA,bold)>
<!ELEMENT bold(#PCDATA)>
Now how would I write the xsl for this? is this the best/only way to do it? How would I do this for a link?
Thanks
Tom