{ | |
"class" : "org.eclipse.smila.processing.pipelets.xmlprocessing.XPathExtractorPipelet", | |
"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", | |
"description" : "The XPath expression to be evaluated." | |
}, | |
{ | |
"name": "separator", | |
"type": "string", | |
"optional": true, | |
"description" : "The optional separator." | |
}, | |
{ | |
"name": "namespace", | |
"type": "string", | |
"optional": true, | |
"description" : "The optional XML namespace. " | |
} | |
], | |
"description": "This pipelet extracts elements selected by XPath, converts them to appropriate data types (Boolean, Double, String), and stores the transformed value in an attribute or attachment." | |
} |