Re: Unable to parse xml
Re: Unable to parse xml
- Subject: Re: Unable to parse xml
- From: Pascal Pochet <email@hidden>
- Date: Fri, 8 Sep 2006 16:50:13 +0200
Le 08-sept.-06 à 16:19, I. Savant a écrit :
Your XML is invalid. Note the lines that begin with "<". It's
escaping the "<" character, rather than using it literally.
Wherever source you're getting this from, it's mangling the XML.
--
I.S.
Wrong:
copy paste it in a text file and run xmllint on it…
this is perfectly valid XML.
The "problem" is XML inside XML:
the text content of GetWeatherResult tag is an "escaped" XML document…
so if you want to access to its content as XML,
you should unescape it and then re-run a new parser on it…
Pascal Pochet
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden