Go Up toOnce an XML document has been parsed by a DOM implementation, the data it represents is available as a hierarchy of nodes. Each node corresponds to a tagged element in the document. For example, given the following XML:
![]()
Native cross-platform Delphi & Lazarus XML library. That means that nodes are created one-by-one and when they are not referenced any. I am currently using NativeXML in Delphi and I have this XML document with the following structure: xml version='1.0'? iterate through similar nodes in an XML document using NativeXML in Delphi?
![]()
In particular, a DOM parser treats all tagged elements as internal nodes. Additional nodes (of type text node) are created for the values of the name, price, symbol, and shares nodes. These text nodes then appear as the children of the name, price, symbol, and shares nodes.Each node is accessed through an interface, starting with the root node, which is the value of the XML document component's property.
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |