blob: a868a29329f5574503b77bf09b58fde21201e057 [file] [log] [blame]
{
"class" : "org.eclipse.smila.processing.pipelets.xmlprocessing.XPathFilterPipelet",
"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. "
},
{
"name": "outputType",
"type": "string",
"values": ["ATTACHMENT", "ATTRIBUTE"],
"description" : "Defines whether the transformed output should be stored in an attachment or in an attribute of the record."
},
{
"name": "inputName",
"type": "string",
"description" : "The name of the input attachment or the path to the input attribute (process literals of attribute)."
},
{
"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": "xpath",
"type": "string",
"multi": true,
"description" : "The XPath expressions to be evaluated (multi-valued property)."
},
{
"name": "filterMode",
"type": "string",
"values": ["INCLUDE", "EXCLUDE"],
"optional": true,
"description" : "The filter mode, defining whether to include or exclude the elements matched by the XPath expressions. Defaullt is INCLUDE."
},
{
"name": "namespace",
"type": "string",
"optional": true,
"description" : "The optional XML namespace. "
}
],
"description": "This pipelet filters elements by XPath expressions (either using include or exclude mode) and stores the filtered elements as a new document in an attribute or attachment."
}