[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: FW: [DotGNU]System.Xml

From: Simon Guindon
Subject: RE: FW: [DotGNU]System.Xml
Date: Wed, 8 Jan 2003 15:24:38 -0500

Thats exactly my point, but currently in PNET System.Xml in XmlNode and
XmlElement they both append a new child to the current node when you add a
string to InnerText.

So I ask, is it correct to totally scrap this and just make a simple string


Simon Guindon
Nureality Networks

-----Original Message-----
From: Aditya P. Bansod [mailto:address@hidden
Sent: January 8, 2003 3:17 PM
To: 'Portable. NET'
Subject: RE: FW: [DotGNU]System.Xml

> Are text supposed to be child nodes if a node?  If so, how do
> we make it invisible to the ChildNodes collection.  If not,
> do we just make InnerText a simple string accessor?

>From my XML experience, text inside of a node is not a child of the node
itself. Rather, that node is of a different node type (thus specifying it as
'text node'), and the innerText variable is the string accessor. Please
correct me if I'm wrong. :-)


Developers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]