|
|
|
|
XMLOpen (Function) In french: XMLOuvre Loads an XML document from a file, a URL or a string in an xmlDocument variable.
Stream is xmlDocument
Stream = XMLOpen("http://forum.pcsoft.fr/rss.awp?groupid=pcsoft.fr.windev&v=2", fromURL)
IF ErrorOccurred = True THEN
Error("Unable to open the RSS feed. Check your Internet connection.")
END
Syntax
<Result> = XMLOpen(<Document source> [, <Source type> [, <Option>]])
<Result>: xmlDocument variable xmlDocument variable containing the result of the loading and study of XML document. The ErrorOccurred variable is set to True if an error occurred. <Document source>: Character string Corresponds to:- the path of the file containing the XML document (for a file source).
- the URL of the XML document (for a URL source).
- a string containing the XML code to be loaded. In this case, you need to specify the fromString constant for the <Source type> parameter.
<Source type>: Optional Integer constant Source type to be used: | | fromFile | <Document source> is the path of the XML file. | fromString | <Document source> is a string containing XML code. This constant is required if the <Document source> parameter directly contains the XML code. | fromURL | <Document source> is the URL of an XML file. |
If this parameter is not specified, the path and the URL of the XML file will be automatically identified. <Option>: Optional Integer constant New in version 2024XML code analysis mode: | | XMLKeepEmptyTextNode | Keeps text nodes containing only whitespace characters (space, tab, CR).. This constant is required if the XMLVerifySignature function is to be used. |
Remarks UTF-8 encoding is used by default if no encoding is specified in the XML document. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|