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

Re: Repost: ampersand in data

Subject: Re: Repost: ampersand in data
From: "Rick Geimer" <Rick.Geimer@xxxxxxx>
Date: Fri, 21 Jul 2000 15:51:19 -0700
oracle ampersand
The XML is not valid, so XSLT will not be able to process it. The
program that extracts the data from Oracle has a bug that needs to be
fixed. 

Rick Geimer
National Semiconductor
rick.geimer@xxxxxxx

John Gethoefer wrote:
> 
> Actually, I am trying to do this with XSLT and not have to touch the XML
> doc.
> 
> The XML is a result of data retrieval from an Oracle database with
> entries that contain '&' in them.
> Rather than process an ereg replace on all of the database results, I
> would like to catch it with XSLT.
> 
> Is this possible or is the only way to do this by replacing '&' with
> &amp; or &#123; ?
> 
> -John "avoiding extraneous code" Gethoefer
> 
> Carlos Araya wrote:
> 
> > John:
> >
> >         Try something like:
> >
> > <Name>Jack &amp; Jill</Name>
> >
> >         That should work, you may want to also take a look at the
> > entities
> > supported in XML.
> >
> > Carlos
> 
> 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


 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.