December 2001
Beginner
976 pages
22h 4m
English
The actual content of an XmlDocument is represented by the Value property of each XmlNode object. Well, not exactly each XmlNode. Remember earlier in this chapter we basically said that everything in an XmlDocument is an XmlNode? This includes XmlElements and XmlAttributes among others. Depending on the actual type of each XmlNode, the Value property might contain a value, or it might not at all. It depends on the type of the node. Table 33.3 describes the value stored in the Value property of an XmlNode depending on the actual NodeType of the node.
| Class | Content of Value Property |
|---|---|
| XmlAttribute | The value of the attribute. |
| XmlCDataSection | The content of the CDATA section. |
| XmlComment ... |
Read now
Unlock full access