Re: Parsing an XML return from a POST - resend with a little more information

From: Date: Wed, 10 Jan 2007 09:52:34 +0000
Subject: Re: Parsing an XML return from a POST - resend with a little more information
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-246831@lists.php.net to get a copy of this message
# jochem@iamjochem.com / 2007-01-10 09:38:30 +0100: > Richard Luckhurst wrote: > > Hi Jochem, > > > > Thanks for your reply. Here is a short sample of the XML I have to parse. I need > > the data in the attributes as well as the data in the character fields. > > > > <?xml version="1.0" encoding="UTF-8"?> > > <?ypsilon RNGSchema="fareResponse.rnc" type="compact"?> > > I'm fairly certain that this 'ypsilon' tag is going to cause a > problem - although that's just a guess, it's based on the 'knowledge' > that a valid XML document *must* have only 1 root element > (which would be 'fareResponse' in this case). That ypsilon is a *preprocessing instruction* AFAICT. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991

« previous php.general (#246831) next »