Hi Franklin,

<<
I thought a well formatted node has a />

such as

<NodeName attributes=stuff />

or
<NodeName>a bunch of stuff here</NodeName>

this doesn't have that.
<?xml version="1.0" encoding="utf-16"?>
>>

Well, yes, it doesn't have it, because it's not an element. What you
described above is an Element Node, not just a node. For example, in XML, an
element's attribute is itself a node, just as the text inside an element's
opening and closing tags are, and neither of them certainly have a />.

Processing instructions, like the other two, are just some kinds of nodes,
different from elements. (Heck, even comments <!-- --> in XML files are
nodes!)

--
Tomas Restrepo
[EMAIL PROTECTED]

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to