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]

RE: Global disable-output-escaping


If you are producing CSV, use the "text" output method instead the default
(which is "xml").

> -----Original Message-----
> From: owner-xsl-list@lists.mulberrytech.com
> [mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of
> Joshua.Kuswadi@BTFinancialgroup.com
> Sent: Friday, September 28, 2001 6:25 AM
> To: xsl-list@lists.mulberrytech.com
> Subject: [xsl] Global disable-output-escaping
>
>
> Hi there,
>
> I'm converting XML with XSL to produce CSV files and the XML
> documents may contain the string '&' as part of a text node.
> For example <name>J &amp; G Bloggs</name>.
>
> When the XSL has <xsl:value-of select="name"/>, it returns 'J
> &amp; G Bloggs', rather than the desired, 'J & G Bloggs'. Is
> there anyway to get our desired result without having to change
> all the <xsl:value-of> elements in all our CSV stylesheets to
> include the disable-output-escaping="yes" attribute?
>
> Thanks in advance,
> Joshua
>
> ------------------------------------------------------------------
> ------------
> This message and any attachment is confidential and may be
> privileged or otherwise protected from disclosure.  If you have
> received it by mistake please let us know by reply and then
> delete it from your system; you should not copy the message or
> disclose its contents to anyone.
>
>
>
>
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>


 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]