class XmlReader

Class XmlReader

Methods

loadXml(string $xml)

No description

loadDom(DOMDocument $document)

No description

getXpath()

No description

string|null
getValue(string $query, DOMNode $context = null, string|null $def = '')

No description

DOMElement|null
getNode(string $query, DOMNode|null $context)

No description

getNodes(string $query, DOMNode|null $context)

No description

Details

at line 33
loadXml(string $xml)

Parameters

string $xml

at line 43
loadDom(DOMDocument $document)

Parameters

DOMDocument $document

at line 51
DOMXPath getXpath()

Return Value

DOMXPath

at line 62
string|null getValue(string $query, DOMNode $context = null, string|null $def = '')

Parameters

string $query Query xpath
DOMNode $context Context node
string|null $def Default Value

Return Value

string|null

at line 77
DOMElement|null getNode(string $query, DOMNode|null $context)

Parameters

string $query
DOMNode|null $context

Return Value

DOMElement|null

at line 94
DOMNodeList getNodes(string $query, DOMNode|null $context)

Parameters

string $query
DOMNode|null $context

Return Value

DOMNodeList