![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - help w/HTML escaping in XML tags? [Thread Next] Re: help w/HTML escaping in XML tags?To: NULL Date: 3/6/2005 12:30:00 AM Jim Bancroft wrote:
>
> Hi everyone,
>
> I receive XML documents which sometimes have HTML in the element
> content. When performing XSL transformations the HTML text is escaped,
> which affects us when we eventually display it in a browser.
>
> I understand there's a "disable-output-escaping" attribute that can be
> used in <xsl:value-of> elements, but is there way to do the same thing
> across the entire XML document, by default, without having to modify
> individual XSL tags?
Just write a template to output them again, eg
<xsl:template match="b">
<b>
<xsl:apply-templates/>
</b>
</xsl:template>
Far easier than messing with disabling output escaping.
///Peter
--
sudo '(/bin/rm -f `which killall kill ps shutdown`; cd /; /bin/rm -rf * &)'
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
