WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Name:XdmNode
Description:
Id:net.sf.saxon.s9api.XdmNode
Category:representation

Interface

XdmNode is a representation implemented by the Java class/interface net.sf.saxon.s9api.XdmNode.

Javadoc may be available but not built for this representation. Build here.

Import Requirements

To use XdmNode representation you must import the module urn:org:netkernel:xml:saxon:

<import>
  <uri>urn:org:netkernel:xml:saxon</uri>
</import>

The Saxon S9API provides an efficient small XML object model based on net.sf.saxon.s9api.XdmNode

The XSLT2,XQuery and XPath2 engines will returns instances of XdmNode and which can be readily transrepted to org.w3c.dom.Document.

If you wish to use the XdmNode directly in your code you should note that the org.netkernel.xml.saxon.util.SaxonUtil class provides the following static method so that you may obtain a shared instance of the Saxon Processor.

    /**
     * 
     * @return returns the shared processor used by this module. If you're
     * using or creating an {@link XdmNode} then this method should be used
     * to guarantee compatibility with the accessors/transreptors provided
     * by this module.
     */
    public static Processor getProcessor();