Hi All,
I am new to XPath stuff. I want parse XMLDocument with XPath and find
out subset of information. If you look at following xml, for i.e how
can i retrieve subset information such as
'EnrollmentState','SCGProductCollection' or 'EnrollmentEntities'. I
have no idea how to parse following XML
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<a1:EnrollmentState id="ref-1"
xmlns:a1="http://schemas.microsoft.com/clr/nsassem/ABSU.SCG.BusinessObjects/ABSU.SCG%2C%20Version%3D1.1.0.0%2C%20Culture%3Dneu tral%2C%20PublicKeyToken%3D09fbcba969895295">
<currentEnrollmentState
id="ref-3">OrderComplete</currentEnrollmentState>
<sessionId id="ref-4">3lxquwanl1mitt453lzayx45</sessionId>
<productsAvailable href="#ref-5"/>
<databaseId>1460</databaseId>
<referrerId>0</referrerId>
<termsAndConditions id="ref-6">
</termsAndConditions>
<enrollmentException xsi:null="1"/>
<enrollmentEntity href="#ref-7"/>
</a1:EnrollmentState>
<a1:SCGProductCollection id="ref-5"
xmlns:a1="http://schemas.microsoft.com/clr/nsassem/ABSU.SCG.BusinessObjects/ABSU.SCG%2C%20Version%3D1.1.0.0%2C%20Culture%3Dneu tral%2C%20PublicKeyToken%3D09fbcba969895295">
<productList href="#ref-8"/>
</a1:SCGProductCollection>
<a1:EnrollmentEntities id="ref-7"
xmlns:a1="http://schemas.microsoft.com/clr/nsassem/ABSU.SCG.BusinessObjects/ABSU.SCG%2C%20Version%3D1.1.0.0%2C%20Culture%3Dneu tral%2C%20PublicKeyToken%3D09fbcba969895295">
<lastOperationReason id="ref-10">Unknown Enrollment
Reason</lastOperationReason>
<lastOperationStatus id="ref-11">SUCCESS</lastOperationStatus>
<isCallingAsNewService>false</isCallingAsNewService>
<customer href="#ref-12"/>
<campaign xsi:null="1"/>
<appVersion href="#ref-6"/>
<applicationUser xsi:null="1"/>
</a1:EnrollmentEntities>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>