blob: 97e3b2eefbcce664feb4b3e47cfa50c9837dd2f3 [file] [log] [blame]
{
"class" : "org.eclipse.smila.processing.pipelets.xmlprocessing.XmlDocumentSplitterPipelet",
"parameters": [
{
"name": "inputType",
"type": "string",
"values": ["ATTACHMENT", "ATTRIBUTE"],
"description" : "Defines whether the XML input is found in an attachment or in an attribute of the record. An input attribute is not interpreted as to contain XML content itself but rather as a file path or an URL to the XML document."
},
{
"name": "outputType",
"type": "string",
"values": ["ATTACHMENT", "ATTRIBUTE"],
"description" : "Defines whether the XML snippet should be stored in an attachment or in an attribute of the newly created record."
},
{
"name": "inputName",
"type": "string",
"description" : "The name of the input attachment or the path to the input attribute containing a path to an external data source, e.g. an xml file name"
},
{
"name": "outputName",
"type": "string",
"description" : "The name of the output attachment or the path to the output attribute (store result as literals of attribute)."
},
{
"name": "beginTagName",
"type": "string",
"description" : "The name of the tag to start the XML snippet with."
},
{
"name": "beginTagNamespace",
"type": "string",
"optional": true,
"description" : "The namespace of the start tag. Namespaces are not checked, if not given (in that case any namespace matches)."
},
{
"name": "endTagName",
"type": "string",
"optional": true,
"description" : "The name of the tag to end the xml snippet with, defaults to the value of beginTagName."
},
{
"name": "endTagNamespace",
"type": "string",
"optional": true,
"description" : "The namespace of the end tag, defaults to the value of beginTagNamespace."
}
],
"description": "This pipelet splits an XML stream into multiple XML snippets. For each snippet a new record is created where the XML snippet is stored in either an attribute or attachment."
}