getAttributes from NodeInfo
Replies (1)
Please register to reply
Added by Anonymous almost 16 years ago
Legacy ID: #6459716 Legacy Poster: Vaidhy Kumar (vaidhykumar)
Hello, I am wondering is there any way to get attributes from a NodeInfo if it represents an element? Thanks Vaidhy
Legacy ID: #6461429 Legacy Poster: Michael Kay (mhkay)
Use iterateAxis(Axis.ATTRIBUTE) to iterate over the attribute nodes. If you want a specific attribute there is a helper method net.sf.saxon.om.Navigator.getAttributeValue(uri, local) Michael Kay
Please register to reply