XmlNode and XmlElement difference

  • Thread starter Thread starter Duggi
  • Start date Start date
D

Duggi

Hi

I am trying to get the difference here.

What is Node and what is Element in XML. ( I Think a dumb question...
but donot the difference)

Thanks in advance
-Srinivas.
 
Duggi said:
I am trying to get the difference here.

What is Node and what is Element in XML. ( I Think a dumb question...
but donot the difference)

Not a dumb question at all. XML is full of nodes - pretty much
everything is a node. An attribute is a node, a document is a node, an
element is a node, a comment is a node, etc - see XmlNodeType for more
info.

So, an element is just a particular type of node.
 
Thanks Jon.

I think I am little clear now. Spent some time on MSDN able to find
XMLElement is a type of XMLNode..:-)

Thanks
-Srinivas.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top