XML Parser and DOM Tree Library/en
| Language: | [[::XML Parser and DOM Tree Library/en|English]] |
|---|
Einleitung
Diese Bibliothek liefert Bausteine zum Lesen und Maniulieren von XML-Dokumenten.
Library Referenz
Parsing
- XMLDocument [ From File ]
liest XML aus einer Datei; liefert einen DOM-Baum, welcher das Dokument repräsentiert. - XMLDocument [ From Stream ]
liest XML aus einem Stream; liefert einen DOM-Baum, welcher das Dokument repräsentiert. - XMLDocument [ From Stream ]
liest XML aus einem String; liefert einen DOM-Baum, welcher das Dokument repräsentiert.
Printing
- Convert [ XMLDocument-to-String ]
Generates a printed string representation from a DOM tree.
Element Extraction
- XML [ Get Root Element ]
Liefert das Root-Element eines DOM Dokuments.
- XML [ Get Sub Elements ]
Liefert die direkten Unterelemente eines gegebenen Elements. - XML [ Get Sub Elements Recursive ]
Liefert alle Unterelemente eines gegebenen Elements (rekursiv). - XML [ Enumerate Sub Elements ]
Enumerates the immediate subelements of a given element. - XML [ Enumerate Sub Elements Recursive ]
Enumerates all subelements 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
- 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
- XMLDocument [ Inspect DOM ]
Opens a graphical inspector on a DOM tree - XMLDocument [ Inspect CML String ]
Opens a graphical inspector on a parsed XML string
Zurueck zu Online Documentation.