From fbfd2ae25a5382e6c1fba3290c656ceb0db15d5b Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Tue, 15 Nov 2011 05:31:20 +0000 Subject: 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 --- docs/manual.qbk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') 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: text1 text2 -[: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: -- cgit v1.2.3