JolieDoc for Port XmlUtils
From file xml_utils.iol
| Port Name | Location | Protocol |
|---|---|---|
| XmlUtils |
List of the available interfaces
Interface XmlUtilsInterface
| Heading | Input type | Output type | Faults |
|---|---|---|---|
| transform | XMLTransformationRequest |
string |
TransformerException( JavaExceptionType ) |
| valueToXml | ValueToXmlRequest |
string |
IOException( IOExceptionType ) |
| xmlToValue | XMLToValueRequest |
undefined |
IOException( IOExceptionType ) |
Operation list
xmlToValue( XMLToValueRequest )( undefined ) throws IOException( 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
transform( XMLTransformationRequest )( string ) throws TransformerException( JavaExceptionType )
valueToXml( ValueToXmlRequest )( string ) throws IOException( IOExceptionType )
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
Message type list
XMLToValueRequest
type XMLToValueRequest: any {
.options?: void {
.charset?: string
.includeAttributes?: bool
.schemaLanguage?: string
.schemaUrl?: string
}
}
IOExceptionType
type IOExceptionType: JavaExceptionType
XMLTransformationRequest
type XMLTransformationRequest: void {
.source: string
.xslt: string
}
JavaExceptionType
type JavaExceptionType: string {
.stackTrace: string
}
ValueToXmlRequest
type ValueToXmlRequest: void {
.omitXmlDeclaration?: bool
.indent?: bool
.plain?: bool
.root: undefined
.rootNodeName: string
}