diff options
author | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2011-11-15 05:31:20 +0000 |
---|---|---|
committer | arseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640> | 2011-11-15 05:31:20 +0000 |
commit | fbfd2ae25a5382e6c1fba3290c656ceb0db15d5b (patch) | |
tree | 341da50a2e82d4d454fc35783703393eabe0509e /docs/manual.qbk | |
parent | 5c02ac5645c44f7f3d01664d9c3c9027f5fcff5a (diff) |
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
Diffstat (limited to 'docs/manual.qbk')
-rw-r--r-- | docs/manual.qbk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/manual.qbk b/docs/manual.qbk index 7a4ec49..c58088a 100644 --- a/docs/manual.qbk +++ b/docs/manual.qbk @@ -265,11 +265,11 @@ 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.] -* 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> -[:Here `"node"` element has three children, two of which are PCDATA nodes with values `"text1"` and `"text2"`.] +[:Here `"node"` element has three children, two of which are PCDATA nodes with values `" text1 "` and `" text2 "`.] * Character data nodes ([anchor node_cdata]) represent text in XML that is quoted in a special way. CDATA nodes do not differ from PCDATA nodes except in XML representation - the above text example looks like this with CDATA: |