SF# 3178109

This commit is contained in:
Guenter Obiltschnig
2011-08-22 09:45:56 +00:00
parent 885c9547f4
commit 1675ba8d1c
14 changed files with 461 additions and 350 deletions

View File

@@ -1,7 +1,7 @@
//
// Document.h
//
// $Id: //poco/1.4/XML/include/Poco/DOM/Document.h#1 $
// $Id: //poco/1.4/XML/include/Poco/DOM/Document.h#2 $
//
// Library: XML
// Package: DOM
@@ -246,48 +246,6 @@ public:
///
/// This method is an extension to the W3C Document Object Model.
Node* getNodeByPath(const XMLString& path);
/// Searches a node (element or attribute) based on a simplified XPath
/// expression.
///
/// Only simple XPath expressions are supported. These are the slash
/// notation for specifying paths to elements, and the square bracket
/// expression for finding elements by their index, by attribute value,
/// or finding attributes by names.
///
/// The slash at the beginning is optional, the evaluation always starts
/// at the document element.
///
/// Examples:
/// /elem1/elem2/elem3
/// /elem1/elem2[1]
/// /elem1/elem2[@attr1]
/// /elem1/elem2[@attr1='value']
///
/// This method is an extension to the W3C Document Object Model.
Node* getNodeByPathNS(const XMLString& path, const Element::NSMap& nsMap);
/// Searches a node (element or attribute) based on a simplified XPath
/// expression. The given NSMap must contain mappings from namespace
/// prefixes to namespace URIs for all namespace prefixes used in
/// the path expression.
///
/// Only simple XPath expressions are supported. These are the slash
/// notation for specifying paths to elements, and the square bracket
/// expression for finding elements by their index, by attribute value,
/// or finding attributes by names.
///
/// The slash at the beginning is optional, the evaluation always starts
/// at the document element.
///
/// Examples:
/// /ns1:elem1/ns2:elem2/ns2:elem3
/// /ns1:elem1/ns2:elem2[1]
/// /ns1:elem1/ns2:elem2[@attr1]
/// /ns1:elem1/ns2:elem2[@attr1='value']
///
/// This method is an extension to the W3C Document Object Model.
protected:
~Document();