thanks for the response.  sorry, i meant '>' isn't escaped in PCDATA.
i get xml like

<mytag>>some stuff</mytag>
       ^ here is the '>'

is this well-formed xml??

-a

> -----Original Message-----
> From: Pavel Hlavnicka [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 1:24 AM
> To: Sablotron Mailing List
> Subject: Re: [Sab] getting > in output when mode is xml
> 
> 
> 
> 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