From 3f3e4525e1d4b6ff07dfbc267f5bb38e1da9314e Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 22 Mar 2015 10:08:35 -0700 Subject: docs: Fix several internal links --- docs/manual.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/manual.adoc b/docs/manual.adoc index f968135..ee749ac 100644 --- a/docs/manual.adoc +++ b/docs/manual.adoc @@ -1113,7 +1113,7 @@ include::samples/traverse_predicate.cpp[tags=find] === Working with text contents [[xml_text]] -It is common to store data as text contents of some node - i.e. `This is a node`. In this case, `` node does not have a value, but instead has a child of type <> with value `"This is a node"`. pugixml provides a special class, `xml_text`, to work with such data. Working with text objects to modify data is described in <>; this section describes the access interface of `xml_text`. +It is common to store data as text contents of some node - i.e. `This is a node`. In this case, `` node does not have a value, but instead has a child of type <> with value `"This is a node"`. pugixml provides a special class, `xml_text`, to work with such data. Working with text objects to modify data is described in <>; this section describes the access interface of `xml_text`. [[xml_node::text]] You can get the text object from a node by using `text()` method: @@ -1394,7 +1394,7 @@ include::samples/modify_remove.cpp[tags=code] [[modify.text]] === Working with text contents -pugixml provides a special class, `xml_text`, to work with text contents stored as a value of some node, i.e. `This is a node`. Working with text objects to retrieve data is described in <>; this section describes the modification interface of `xml_text`. +pugixml provides a special class, `xml_text`, to work with text contents stored as a value of some node, i.e. `This is a node`. Working with text objects to retrieve data is described in <>; this section describes the modification interface of `xml_text`. [[xml_text::set]] Once you have an `xml_text` object, you can set the text contents using the following function: @@ -1731,7 +1731,7 @@ If the task at hand is to select a subset of document nodes that match some crit === XPath types [[xpath_value_type]][[xpath_type_number]][[xpath_type_string]][[xpath_type_boolean]][[xpath_type_node_set]][[xpath_type_none]] -Each XPath expression can have one of the following types: boolean, number, string or node set. Boolean type corresponds to `bool` type, number type corresponds to `double` type, string type corresponds to either `std::string` or `std::wstring`, depending on whether <>, and node set corresponds to <> type. There is an enumeration, `xpath_value_type`, which can take the values `xpath_type_boolean`, `xpath_type_number`, `xpath_type_string` or `xpath_type_node_set`, accordingly. +Each XPath expression can have one of the following types: boolean, number, string or node set. Boolean type corresponds to `bool` type, number type corresponds to `double` type, string type corresponds to either `std::string` or `std::wstring`, depending on whether <>, and node set corresponds to <> type. There is an enumeration, `xpath_value_type`, which can take the values `xpath_type_boolean`, `xpath_type_number`, `xpath_type_string` or `xpath_type_node_set`, accordingly. [[xpath_node]][[xpath_node::node]][[xpath_node::attribute]][[xpath_node::parent]] Because an XPath node can be either a node or an attribute, there is a special type, `xpath_node`, which is a discriminated union of these types. A value of this type contains two node handles, one of `xml_node` type, and another one of `xml_attribute` type; at most one of them can be non-null. The accessors to get these handles are available: -- cgit v1.2.3