summaryrefslogtreecommitdiff
path: root/src/cxml.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-25 11:05:05 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-25 11:05:05 +0100
commit0f7139e9ae4261b2b63e643239fc14c4c84850c0 (patch)
treec69d0fdde5866afc967d891a6565cb63a3808b04 /src/cxml.h
parent5ff4c60f4982ec44d34e4cf0d04cab574a76883b (diff)
Add ::namespace_prefix method.
Diffstat (limited to 'src/cxml.h')
-rw-r--r--src/cxml.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cxml.h b/src/cxml.h
index 9581adc..8a7a82c 100644
--- a/src/cxml.h
+++ b/src/cxml.h
@@ -146,6 +146,9 @@ public:
/** @return The content of this node */
std::string content () const;
+ /** @return namespace prefix of this node */
+ std::string namespace_prefix () const;
+
boost::shared_ptr<Node> node_child (std::string) const;
boost::shared_ptr<Node> optional_node_child (std::string) const;