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

Re: how red ampersand from the xml file

Subject: Re: how red ampersand from the xml file
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Fri, 25 Mar 2005 10:08:53 -0800 (PST)
xml ampersand
If I may add to what Joe said..

The character data inside an element cannot contain
unescaped &. & is interpreted as begining an entity
reference(e.g. &lt, &gt etc) by the XML parser. So it
must be escaped using &amp;

You must rectify the XML generation process, so it
must produce &amp; instead of &.

Regards,
Mukul

--- henry human <henry_human@xxxxxxxx> wrote:
> they are generated as text (read recordsets from a 
> access database and write them as xml tag to a xml
> file)
> 
> --- Joe Fawcett <joefawcett@xxxxxxxxxxx> wrote:
> > ----- Original Message ----- 
> > From: "henry human" <henry_human@xxxxxxxx>
> > To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> > Sent: Friday, March 25, 2005 5:36 PM
> > Subject: Re:  how red ampersand from the xml
> > file
> > 
> > 
> > > very bad!
> > > because i dont generate this xml files!
> > > i must change alle xml files manualy!
> > > thanks
> > > a xsm file (
> > >
> > Well technically they're not xml files unless they
> > escape the ampersand. Are you 
> > sure it's not just the way you're examining them.
> > How are they produced, it is 
> > either a very flawed xml process or they are just
> > being written as text files.
> > 
> > 
> > Joe 
> > 
> > 
> 
> 
> 	
> 
> 	
> 		
>
___________________________________________________________
> 
> Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher
> kostenlos - Hier anmelden: http://mail.yahoo.de
> 
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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.