This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]