Service XmlUtils
from xml-utils import XmlUtils
Port Name | Location | Protocol | Interfaces |
---|---|---|---|
ip | local | XmlUtilsInterface |
List of Available Interfaces
XmlUtilsInterface
Operation Name | Input Type | Output Type | Faults | Description |
---|---|---|---|---|
transform | XMLTransformationRequest | string | TransformerException0#JavaExceptionType | |
valueToXml | ValueToXmlRequest | string | IOException1#IOExceptionTypeIllegalArgumentExceptionstring | Transforms the value contained within the root node into an xml string. The base value of ValueToXmlRequest.root will be discarded, the rest gets converted recursively |
xmlToValue | XMLToValueRequest | undefined | IOException1#IOExceptionType | Transforms the base value in XML format (data types string, raw) into a Jolie value The XML root node will be discarded, the rest gets converted recursively |
Types
ValueToXmlRequest:
Type Declaration
void { omitXmlDeclaration[0,1]: bool // indent[0,1]: bool // plain[0,1]: bool // root[1,1]: any // rootNodeName[0,1]: string // isXmlStore[0,1]: bool // applySchema[0,1]: void { schema[1,1]: string // doctypeSystem[0,1]: string // encoding[0,1]: string // } // }
XMLToValueRequest:
Type Declaration
any { options[0,1]: void { skipMixedText[0,1]: bool // charset[0,1]: string // includeAttributes[0,1]: bool // schemaLanguage[0,1]: string // includeRoot[0,1]: bool // schemaUrl[0,1]: string // } // isXmlStore[0,1]: bool // }