Re: ampersand in data
Having not found a solution using XSLT, and not wanting to do any intensive processing of the XML doc, the best solution I found was... when writing the XML doc: <Name><![CDATA[Jack & Jill]]></Name> I don't know if this is proper, but it worked fine. Thanks to all for your input. -John. John Gethoefer wrote: > I am trying to transform XML data such as follows: > > <Name>Jack & Jill</Name> > > however when I use <xsl:value-of "Name"/> it breaks. > > Is there a way to transform data that includes "&" using XSLT? > > Thanks in advance. > > -John > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format