Hi Vasu,
XmlPage page = webClient.getPage(abc);
page.getByXPath(), .getFirstByXPath()
Ahmed
From: Vasudevan Comandur <vco...@gm...>
To: "htm...@li..." <htm...@li...>
Sent: Tuesday, May 10, 2016 10:56 AM
Subject: [Htmlunit-user] Clarification Needed on HTMLUnit to process XML payload
Hi,
I am using HTMLUnit to extract data from web pages. One of the sites is
sending text/xml as the content type. Is there a way to extract data from the
xml payload using Xpath?. If so, can you tell me the APIs that can be
used to extract data from the XML page?
I appreciate your help in this regard.
Regards
Vasu
|