XmlReader

(plugins.XmlReader)

Overview

XMLReader is an XML parsing tool designed to process XML data. It provides two main methods for reading XML content, catering to both file-based and string-based sources. Both methods provide access to the hierarchical structure of the XML, including child nodes, attributes, and content, making them versatile for various XML processing needs.

Returned Types

XmlNode,

Methods Summarized

Type
Name
Summary

Reads an XML document from a file.

Reads an XML document from a string.

Methods Detailed

readXmlDocumentFromFile(argument)

Reads an XML document from a file.

Parameters

Returns: Array An array of XmlNode objects representing the parsed XML document read from the file.

Sample

readXmlDocumentFromString(argument)

Reads an XML document from a string.

Parameters

Returns: Array An array of XmlNode objects representing the parsed XML document read from the string.

Sample


Last updated

Was this helpful?