Mike74
July 23rd, 2001, 08:29 AM
Hi
I use the XML Path Language (XPath) and have now a problem to get a value from an XML-document. I tried to get the value of the floor-attribute with the following expression:
/Addresses/PostalAddress[@addressId='a1']/AddressPersonInformation/AddressExtention/@floor
It doesn't work, but when I want to get an other attribute on the PostalAddress, i.e.:
/Addresses/PostalAddress[@addressId='a1']/@addressLanguage
it works.
How must be the syntax from the first example to get the value ?
Thanks a lot.
Mike
I use the XML Path Language (XPath) and have now a problem to get a value from an XML-document. I tried to get the value of the floor-attribute with the following expression:
/Addresses/PostalAddress[@addressId='a1']/AddressPersonInformation/AddressExtention/@floor
It doesn't work, but when I want to get an other attribute on the PostalAddress, i.e.:
/Addresses/PostalAddress[@addressId='a1']/@addressLanguage
it works.
How must be the syntax from the first example to get the value ?
Thanks a lot.
Mike