Re: disable-output-escaping 'mess'
> a running header is 'marked' as <?$tls`> content<?$tle`> So, they are not XML files then, as $tls isn't an XML name. and XML processing instructions end with ?> not > > using <xsl:output method="xml"> ^^^ Hmm (see above:-) > If I use > <xsl:text disable-output-escaping><?$tls`></text> > > xt and Saxon (quite reasonably?) complain. Or more exactly xt and saxon don't get to see it at all as this is not well formed XML so the XML parser you are using with the xsl system would have rejected this. > so I end up with > <xsl:text disable-output-escaping="yes"> <![CDATA[<?$tls`>]]> or you could have used <xsl:text disable-output-escaping="yes"> <?$tls`> which is the same thing. > Minor aside, whats the logic in not permitting me to output > tags when I set xsl:output method="text"? because text doesn't contain XML markup. > If I'm dealing in plain text, surely left angle bracket is as good as any > other character? Yes and in the text output method a < is output as < but of course you have to enter the < as < or in CDATA within your stylesheet as that is XML. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format