[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: double parsing

Subject: Re: double parsing
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 5 Sep 2002 17:15:28 +0100
Re:  double parsing
  but what i want is
   <Cell><Data>text&#10;text2&#10;</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&amp;#10;text2&amp;#10;</xsl:text>
</Data></Cell>


But better would be to see if you can fix your system to treat &#10; 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.