Subject: XPath Expression to Extract
From: "Manjunath N.S." <manjunath.ns@xxxxxxxxx>
Date: Wed, 4 May 2005 13:46:32 +0530
|
Hi,
I have XML file and I want apply XSL to generate HTML Report out of
it. From Property Element's Text Data I want to extract String
"addCreditCard", which is under <SOAP-ENV:Body> element tag.
can any one please me in getting xpath expression...
<testResults>
- <sampleResult ...>
<property xml:space="preserve" .>
<?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope
xmlns:m="http://www.hp.com/ipg/isdev/eBillingService1.0"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tp="java:com.hp.ipg.isdev.ebilling.webservice"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body> <addCreditCard xmlns="...> .....</SOAP-ENV:Body>
</property>
</sampleResult>
</testResults>
thanks
Manju
|