![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: help w/HTML escaping in XML tags? [Thread Next] Re: help w/HTML escaping in XML tags?To: NULL Date: 3/3/2005 10:11:00 AM
I may not have been completely clear my original post. The XML
documents I receive don't come with pre-escaped HTML but actual HTML.
Here's a brief example:
<myDocument>
<tag1>This is some <b>HTML</b> code</tag1>
</myDocument>
In this case, the <b> tags are HTML-escaped during the XSL
transformation;
It's possible that that happens but you would have to work pretty hard
at it for example
<xsl:template match="b">
<b><xsl:apply-templates/> </b>
</xsl:template>
would have that effect. If that is the case the answer would be to not
do that but instead just copy the nodes to the output
<xsl:template match="tag1">
<xsl:copy-of select="node()"/>
</xsl:template>
The result you say you want is far easier to obtain than the result you
say you are getting, so you'll have to give at least _some_ hint of what
your stylesheet looks like to give anyone a clue how to change it.
David
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
