Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to handle bold type

Status
Not open for further replies.

tcrosswell

IS-IT--Management
Oct 14, 2001
26
GB
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top