[xml] XPath problem with namespaces



Hi!
 
I'm trying to get an understanding of XPath and are having problems getting things to work. I have basically been looking everywhere for an example of how to use namespaces with XPath and XMLLib2 without much success. My XML looks (something) like this:
 
<?xml version="1.0"?>
<SOAP-ENV:Envelope
<SOAP-ENV:Body
wsu:Id="Id-59ef0d9b-1ac6-4fff-85cb-3f52ec95c47c"
<NS1:GetFormularArray xmlns:NS1="urn:AesSoapServiceIntf-IAesSoapService">
All I want to do now is to select the SOAP-ENV:Body element but I haven't been able to figure out how to to this yet! Can anyone please tell me what the correct syntax for XPath is to do this?
 
Regards,
Erik F. Andersen


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]