This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Microsoft XML > December 2005 > Who can explan what's the difference between Node and Element in X





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Who can explan what's the difference between Node and Element in X
Steven.Xu

2005-12-26, 6:48 pm

Who can explan what's the difference between Node and Element in XML?
Thanks.
Joe Fawcett

2005-12-27, 6:28 am

"Steven.Xu" <StevenXu@discussions.microsoft.com> wrote in message
news:44AE4C54-EC15-4B4F-BFAA-6BCFA1ECB8E0@microsoft.com...
> Who can explan what's the difference between Node and Element in XML?
> Thanks.

Briefly "node" is a generic term for any of the many types of XML building
blocks, including
element: <myElement/>
attribute: <myElement myAttribute="myValue"/>
text node: <myElement>myTextNode</myElement>

There are also comments, processing instructions and the invisible document
node representing the root of the XML document, as well as others.

http://msdn.microsoft.com/library/d....asp?frame=true

shows how they can be used.

--
Joe Fawcett - XML MVP

https://mvp.support.microsoft.com/p...E8-8741D22D17A5


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews