Skip to Content.
Sympa Menu

xom-interest - [XOM-interest] How to read attribute value from Nodes class.

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Kunal Chauhan <mail4ck AT gmail.com>
  • To: xom-interest AT lists.ibiblio.org
  • Subject: [XOM-interest] How to read attribute value from Nodes class.
  • Date: Thu, 3 May 2012 18:25:27 +0530

Hi,

How can I read attribute value of an element from Nodes class.
I am trying to implement *Streaming XQuery over Very Large Documents*.



Nodes results = XQueryUtil.*xquery*(subtree, " MY XQuery for filter"); //
transform method's part



now I get result as a Nodes.

for eg. <product id='101'></product>

so, how can I retrive id attribute from Nodes class ?



Thanks,

--
*Kunal Chauhan*
mail4ck AT gmail.com
[+918655517141]
[+919904983614]




Archive powered by MHonArc 2.6.24.

Top of Page