XML Parser and DOM Tree Library/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Sv (Diskussion | Beiträge) |
K |
||
Zeile 16: | Zeile 16: | ||
==== Element Extraction ==== |
==== Element Extraction ==== |
||
* [[ XMLDocument Get Root Element | '''XML [ Get Root Element ]''' ]]<br/> retrieves the root element of a |
* [[ XMLDocument Get Root Element | '''XML [ Get Root Element ]''' ]]<br/> retrieves the root element of a DOM document<!--Liefert das Root-Element eines DOM Dokuments.--> |
||
* [[ XMLDocument Sub Elements | '''XML [ Get Sub Elements ]''' ]]<br/> retrieves the direct DOM child elements from a given DOM element<!--Liefert die direkten Unterelemente eines gegebenen Elements.--> |
* [[ XMLDocument Sub Elements | '''XML [ Get Sub Elements ]''' ]]<br/> retrieves the direct DOM child elements from a given DOM element<!--Liefert die direkten Unterelemente eines gegebenen Elements.--> |
||
* [[ XMLDocument Sub Elements Recursive| '''XML [ Get Sub Elements Recursive ]''' ]]<br/> retrieves all DOM child elements (recursively) of a given DOM element<!--Liefert alle Unterelemente eines gegebenen Elements (rekursiv).--> |
* [[ XMLDocument Sub Elements Recursive| '''XML [ Get Sub Elements Recursive ]''' ]]<br/> retrieves all DOM child elements (recursively) of a given DOM element<!--Liefert alle Unterelemente eines gegebenen Elements (rekursiv).--> |
||
* [[ XMLDocument Enumerate Sub Elements | '''XML [ Enumerate Sub Elements ]''' ]]<br/> enumerates the direct child |
* [[ XMLDocument Enumerate Sub Elements | '''XML [ Enumerate Sub Elements ]''' ]]<br/> enumerates the direct child elements of a given element<!--Enumerates the immediate subelements of a given element.--> |
||
* [[ XMLDocument Enumerate Sub Elements Recursive| '''XML [ Enumerate Sub Elements Recursive ]''' ]]<br/> enumerates all child elements (recursively) of a given element |
* [[ XMLDocument Enumerate Sub Elements Recursive| '''XML [ Enumerate Sub Elements Recursive ]''' ]]<br/> enumerates all child elements (recursively) of a given element |
||
* [[ XMLDocument Find Sub Elements | '''XML [ Find Sub Elements ]''' ]]<br/> Find the immediate subelements of a given element by tag or attribute |
* [[ XMLDocument Find Sub Elements | '''XML [ Find Sub Elements ]''' ]]<br/> Find the immediate subelements of a given element by tag or attribute |
Version vom 11. Januar 2018, 22:09 Uhr
Inhaltsverzeichnis
Introduction[Bearbeiten]
This library contains action blocks to read and manipulate XML documents.
Library Reference[Bearbeiten]
Parsing[Bearbeiten]
- XMLDocument [ From File ]
reads XML from a file and provides a DOM tree, representing that document - XMLDocument [ From Stream ]
reads XML from a stream and provides a DOM tree, representing that document - XMLDocument [ From Stream ]
reads XML from a string and provides a DOM tree, representing that document
Printing[Bearbeiten]
- Convert [ XMLDocument-to-String ]
Generates a printed string representation from a DOM tree.
Element Extraction[Bearbeiten]
- XML [ Get Root Element ]
retrieves the root element of a DOM document
- XML [ Get Sub Elements ]
retrieves the direct DOM child elements from a given DOM element - XML [ Get Sub Elements Recursive ]
retrieves all DOM child elements (recursively) of a given DOM element - XML [ Enumerate Sub Elements ]
enumerates the direct child elements of a given element - XML [ Enumerate Sub Elements Recursive ]
enumerates all child elements (recursively) of a given element - XML [ Find Sub Elements ]
Find the immediate subelements of a given element by tag or attribute - XML [ Find Sub Elements Recursive ]
Enumerates all subelements of a given element by tag or attribute.
- XML [ Get CData Collection ]
Retrieves all of an element's CDATA. - XML [ Get CData Collection ]
Retrieves an element's single CDATA.
- XML [ Get Attribute Keys ]
Retrieves an element's attribute names. - XML [ Get Attribute Value ]
Retrieves an element's single attribute value. - XML [ Compare Attribute Value ]
Compare an element's attribute. Return a boolean. - XML [ Check for Attribute Value ]
Compare an element's attribute. Two-way output.
- XML [ Get Tag ]
Retrieves an element's tag. - XML [ Set Tag ]
Changes an element's tag.
XPath Access[Bearbeiten]
- XMLDocument [ XPath Get Element Set ]
Retrieve a set of matching elements, given an XPath match expression. - XMLDocument [ XPath Get Element ]
Retrieve a single matching element, given an XPath match expression. - XMLDocument [ XPath Get Element CDATA ]
Retrieve a single matching element's CDATA, given an XPath match expression. - XMLDocument [ XPath Get Element nonEmpty CDATA ]
Retrieve a single matching element's non-empty CDATA, given an XPath match expression. - XMLDocument [ XPath Set Element ]
Changes a single matching element, given an XPath match expression. - XMLDocument [ XPath Set Element CDATA ]
Changes a single matching element's CDATA, given an XPath match expression.
XML Inspector[Bearbeiten]
- XMLDocument [ Inspect DOM ]
Opens a graphical inspector on a DOM tree - XMLDocument [ Inspect CML String ]
Opens a graphical inspector on a parsed XML string