Re: [xsl] how red ampersand from the xml file

Subject: Re: [xsl] how red ampersand from the xml file
From: Mukul Gandhi <mukul_gandhi@xxxxxxxxx>
Date: Fri, 25 Mar 2005 10:08:53 -0800 (PST)
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: [xsl] 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