in reply to Re^2: Parse XML file
in thread Parse XML file
I personally don't mind it when people call markup of that form an 'end tag' in HTML because it's possible to construct invalid documents that will usually render correctly in most HTML browsers.
It makes no sense to refer to "tags" for XML as it's not possible to make use of an invalid XML document. The DOM is constructed from (possibly) nested Nodes (of various types) and string-like values attached to those Nodes.
And finally, the OP was refering to the XML nodes of the form <name />, which is not at all the same as HTML of the form </name> . The former represents a Node in the DOM without child-nodes, nor attributes, nor value; the later does not represent any node, attribute or value in the DOM.
-David [erroneousBollock isn't logged in]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Parse XML file
by Jenda (Abbot) on Sep 26, 2007 at 07:12 UTC |