This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: double parsing
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 5 Sep 2002 17:15:28 +0100
- Subject: Re: [xsl] double parsing
- References: <F202bkmu2zKtlt114CF0000f168@hotmail.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
but what i want is
<Cell><Data>text text2 </Data></Cell>
If your system treats that input in _any_ way differently than
<Cell><Data>text
text2
</Data></Cell>
Then it isn't an XML system.
XSLT has disable-output-escaping to allow the production of
nearly-but-not-quite XML.
If your XSLT processor supports d-o-e then you can do
<Cell><Data>
<xsl:text
disable-output-escaping="yes">text&#10;text2&#10;</xsl:text>
</Data></Cell>
But better would be to see if you can fix your system to treat and
newline in the same way, as specified by XML.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list