XML output methid doesn't escape the '>' character by definition. It's 
double-plus-true for CDATA sections :)

Archie Russell wrote:

> hi,
> 
> i have a stylesheet which does some simple filtering of xml.   i set the
> output mode to "xml" but
> the output still contains ">" in CDATA instead of &gt.  i am using sablotron
> version 0.52 on solaris.
> help, anyone?  apologies in advance if this is user error.
> 
> thanks,
> archie
> 
> here's the stylesheet
> 
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
>                 version="1.0">
>   <xsl:output method="xml" indent="yes" doctype-system="sciobj.dtd"/>
>   <xsl:template match="*">
>     <xsl:copy>
>       <xsl:apply-templates/>
>     </xsl:copy>
>   </xsl:template>
>   <xsl:template match="sequence|assembly" />
>   <xsl:template match="sequence_map[ @label != 'mylabel' ]" />
> </xsl:stylesheet>
> 
> 
> archie russell
> doubletwist.com
> 510-587-5766
> 


-- 
Pavel Hlavnicka
Ginger Alliance
www.gingerall.com

Reply via email to