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 .

Endpoint
Name:XDA
Description:XPath Document API
Id:org.netkernel.xml.xda.IXDAReadOnly
Category:representation
Interface

XDA is a representation implemented by the Java class/interface org.netkernel.xml.xda.IXDAReadOnly.

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

Import Requirements

To use XDA representation you must import the module urn:org:netkernel:xml:core:

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

The XML Document API (XDA) was developed by 1060 Research to provide an API around an XML document which cleanly separates read-only and mutation operations into clean interfaces. Methods generally use semi-declarative XPath expressions to define which nodes are read or changed.

Usually the IXDAReadOnly is used as a representation due to it's immutability. Then endpoints which wish to mutate the document can get a mutable clone using the getClone() method, this returns the IXDA interface.