Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Please help getting data out of this XmlElement >Thread Next - Re: Please help getting data out of this XmlElement Re: Please help getting data out of this XmlElementTo: NULL Date: 9/8/2009 4:03:00 PM molipha wrote: > I have this xml: > <image order="3"> > <xsi:location xsi:type="xs:anyURI"> > file:///images/image.jpg > </xsi:location> > <caption> > A lovely photo > </caption> > </image> What you have posted is not well-formed XML with namespace, the prefix 'xsi' needs to be bound to a URI. > I can set var y = image.location and the console shows that I have this > object: > > xsi : http://www.w3.org/2001/... > type : xs:anyURI > #text : file:///D:/images... > > > > I can get xsi and type parameters no problem simply using a dot reference > but y.#text sure don't work and I can't seem to come up with a work-around. Which API in which programming language exactly do you use? -- Martin Honnen --- MVP XML http://msmvps.com/blogs/martin_honnen/ | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
