docs: Minor clarification: put an emphasis on PCDATA nodes since it's a common point of confusion.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@824 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
5c02ac5645
commit
fbfd2ae25a
@ -265,7 +265,7 @@ The tree nodes can be of one of the following types (which together form the enu
|
|||||||
|
|
||||||
[:There are two element nodes here: one has name `"node"`, single attribute `"attr"` and single child `"child"`, another has name `"child"` and does not have any attributes or child nodes.]
|
[:There are two element nodes here: one has name `"node"`, single attribute `"attr"` and single child `"child"`, another has name `"child"` and does not have any attributes or child nodes.]
|
||||||
|
|
||||||
* Plain character data nodes ([anchor node_pcdata]) represent plain text in XML. PCDATA nodes have a value, but do not have a name or children/attributes. Note that plain character data is not a part of the element node but instead has its own node; for example, an element node can have several child PCDATA nodes. The example XML representation of text nodes is as follows:
|
* Plain character data nodes ([anchor node_pcdata]) represent plain text in XML. PCDATA nodes have a value, but do not have a name or children/attributes. Note that *plain character data is not a part of the element node but instead has its own node*; an element node can have several child PCDATA nodes. The example XML representation of text nodes is as follows:
|
||||||
|
|
||||||
<node> text1 <child/> text2 </node>
|
<node> text1 <child/> text2 </node>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user