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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using HTML tags in XML file !

Status
Not open for further replies.

111333

Programmer
Feb 3, 2005
4
IN
I have been using CDATA in XML file to include HTML tags.
However, when I view the output in my browser, it doesn't
show the bold or italic words that I've specified in the
XML file.

How can I have the text bold or italic coded in XML so
that I can view the respective bold and italic text in my
browser ?

Please help !

Thank you in advance.
 
thread426-25542

At the bottom.

Jordi Reineman
 
<xsl:template match=&quot;a | applet | b | big | body | br | caption |
cite | code | col | colgroup | dd | div | dl | dt | em | font |
form | frame | frameset | head | h1 | h2 | h3 | h4 | h5 | h6 | hr |
html | i | iframe | img | link | li | map | meta | noframes | ol |
p | param | pre | s | script | small | span | strong | style |
sub | sup | td | th | title | tr | tt | ul | var | table&quot;>
<xsl:copy>
<xsl:copy-of select=&quot;@*&quot;/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top