Home » xmlbeans-2.5.0-src » org.apache.xmlbeans.impl » xpathgen » [javadoc | source]
public class: XPathGenerator [javadoc | source]
Generates an XPath String that points to a given position in an XML document
Method from org.apache.xmlbeans.impl.xpathgen.XPathGenerator Summary:
generateXPath,   main
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xmlbeans.impl.xpathgen.XPathGenerator Detail:
 public static String generateXPath(XmlCursor node,
    XmlCursor context,
    NamespaceContext nsctx) throws XPathGenerationException 
    Generates an XPath pointing to the position in the document indicated by node.

    If the context parameter is null, the XPath is absolute, otherwise the XPath will be relative to the position indicated by context.

    Note: the cursor position for the node parameter is not preserved

 public static  void main(String[] args) throws XmlException