This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: MS XML Parser
- From: "Chris Bayes" <chris at bayes dot co dot uk>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 16 Nov 2001 10:47:40 -0000
- Subject: RE: [xsl] MS XML Parser
- Reply-to: xsl-list at lists dot mulberrytech dot com
> I'm not looking for a *special* CR I want to output the
> escaped characters that represent the CR. SAXON does it and
> XML-Spy does it (and that actually uses MS XML Parser).
>
Well in fact you are. What you are doing with
<xsl:text
disable-output-escaping="yes">XXXX&#x0D;&#x0A;YYYY</xsl:text>
is generating XXXX
YYYY in the output. When you do this with
saxon or xml-spy you are usually writing out to a file so it stays as
is. With your asp you are transforming it to another dom and I suspect
that it sees the string XXXX
YYYY and converts that to a
single lf.
You can test that by doing a doc.transformNodeToObject xsl, Request
which should stream the XXXX
YYYY directly to the client. If
you really need to go via the third dom then you could try
XXXX&amp;#x0D;&amp;#x0A;YYYY.
Ciao Chris
XML/XSL Portal
http://www.bayes.co.uk/xml
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list