XMLTools[ParseString] - parse a Maple string containing XML data
|
Calling Sequence
|
|
ParseString(xmlString, opts)
|
|
Parameters
|
|
xmlString
|
-
|
string; XML element
|
opts
|
-
|
equation(s) of the form option=value; specify parsing options
|
|
|
|
|
Description
|
|
•
|
The ParseString(xmlString) command parses the input string xmlString, which is assumed to be a valid XML document.
|
•
|
Errors detected by the parser in this routine are reported, but the parser does not validate the XML structure. Only errors that prevent this routine from converting the input string into an internal XML format are detected.
|
•
|
The opts argument can contain one or more equations that set parsing options. For a complete description, see XMLTools[ParseFile].
|
•
|
Important: The parser used for this routine is not a validating parser.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
>
|
|
|
|
Download Help Document
Was this information helpful?