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:XMLSplitter
Description:
Id:domxda.XMLSplitter
Category:accessor
Identifier Syntax

XMLSplitter is an accessor using Active URI syntax with the following base identifiers:

Base
active:XMLSplitter

and the following arguments: (for more details on argument passing details see here)

ArgumentRulesTypingDescription
operand
Mandatory
Representation (java.lang.Object)XML resource to split
xpath
Mandatory
Representation (java.lang.Object)XPath specification
Request Verbs

The following verb is supported:

Verb
SOURCE
Response

The response representation of this accessor for SOURCE requests is unknown.

This accessor throws no documented exceptions.

Import Requirements

To use XMLSplitter accessor you must import the module urn:org:netkernel:xml:core:

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

active:XMLSplitter offers the ability to split an XML document into an iterable list of org.w3c.dom.Document based on an xpath selector of document fragments.

The response is an immutable java.lang.Iterable list of org.w3c.dom.Document.

operand

This is the document to be split and it must be transreptable to org.w3c.dom.Document.

xpath

This is the XPath specifying the location of the document fragments to split from the document. xpath must be transreptable to java.lang.String