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.XMLMerger
Category:accessor
Identifier Syntax

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

Base
active:XMLMerger

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

ArgumentRulesTypingDescription
operand
Mandatory
Representation (java.lang.Object)Iterable set of org.w3c.dom.Document to merge
xpath
Mandatory
Representation (java.lang.Object)XPath specification of the base structure of the merge result
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>

The active:XMLMerger tool takes an iterable list of org.w3c.dom.Document and merges them back into a single document. The new document will have a root element (and child tree structure) corresponding to the supplied XPath argument.

The response is the merged org.w3c.dom.Document.

operand

This is the iterable list of org.w3c.dom.Document

xpath

This is the XPath specifying the root (and first children) for the newly created merge document. xpath must be transreptable to java.lang.String

The operand documents will be appended into the merge document at this xpath location.

XML does not support multiple root elements so make sure the Xpath has at least a root element specified eg "/merge-root".