parse XML( a, b, c )
Group |
The function analyses the stored XML b saves them with the name a and returns the value true on success.
Optionally, a .dtd file is stored, and with this, the XML object can be created.
Important note: The XML DOM object created is only available during the profile run. Afterwards it is deleted.
Description of Parameters
Parameter |
Description |
a |
Name of XML object. |
b |
Text from XML file. |
c |
(optional) true to ignore DTD/XSD. |
Examples
Parameter a |
Parameter b |
Parameter c |
Result |
MyXmlObject |
<content of myXML.xml> |
true |
true |
myXML.xml
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
<
soapenv
:Envelope
xmlns:soapenv
=
"http://test.de"
xmlns:xsd
=
"http://www.w3.org/2001/XMLSchema"
xmlns:wsdw
=
"http://tempuri.org/"
xmlns:xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
>
<
soapenv
:Body>
<
soapenv
:SoapRequest
soapenv:ID
=
"1"
>
<
soapenv
:item>0815</
soapenv
:item>
<
soapenv
:item>0816</
soapenv
:item>
</
soapenv
:SoapRequest>
</
soapenv
:Body>
</
soapenv
:Envelope>