nodesets

XSLT nodesets Length

In XLST how woud you find out the length of an nodesets? ...

Visualization Tools for Huge Graphs

I would like to create a graph (set of vertices connected with edges) and I'm looking for tools or libraries that can help me. The graph is composed of at least 1000 nodes. Although it may be a little ambitious, I'd like to create one that has 60k nodes. Obviously the resulting graph is meant to be artistic more than functional. For ...

Find position of a node within a nodeset using xpath

After playing around with position() in vain I was googling around for a solution and arrived at this older stackoverflow question which almost describes my problem. The difference is that the nodeset I want the position within is dynamic, rather than a contiguous section of the document. To illustrate I'll modify the example from the ...

XPath NodeSet in Java

I have this code in eclipse NodeSet nodes = (NodeSet) xPath.evaluate(expression,inputSource, XPathConstants.NODESET); and its giving me compile time error on NodeSet. These are the stuff that I have imported. Can you tell me why it's doing this? import javax.xml.xpath.*; import org.xml.sax.InputSource; import java.io.File; import j...