|
|
|
|
|
XMLExtractString (Function) In french: XMLExtraitChaîne Extracts the content of a tag found in an XML document. To perform more complex searches, use XMLDocument and XMLFind.
XMLSource is string = fLoadText("example.xml")
Result1 is string
i is int = 1
Result1 = XMLExtractString(XMLSource, "operation", i)
WHILE Result1 <> ""
Trace(Result1)
i = i + 1
Result1 = XMLExtractString(XMLSource, "operation", i)
END
Syntax
<Result> = XMLExtractString(<XML code> , <Tag> [, <Subscript> [, <Search options>]])
<Result>: Character string - Tag content.
- Empty string (""):
- if the tag is not found
- if the tag does contains no XML code.
<XML code>: Character string XML code containing the tag.
<Tag>: Character string Name of tag whose content will be extracted. <Subscript>: Optional integer Index of tag (if the tag appears several times in the XML code). This parameter is set to 1 by default. <Search options>: Optional constant Search options for the extraction: | | XMLExact (Default value) | The tag name is case sensitive for the search. | XMLIgnoreCase | The tag name is not case sensitive for the search. |
Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|