summaryrefslogtreecommitdiff
path: root/src/cxml.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-29 16:48:34 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-29 16:48:34 +0100
commit78ae9a1909db6e59aa990db060e9e5c8c580482b (patch)
treeec9c5a6cf08ae3fcff57e9a622da6e86142676a5 /src/cxml.cc
parentbeac03175fbad7c850a20ee0c7c362e835d8b7b3 (diff)
parentfea74301948e42bb5fd2853ed84a68a4fb86bbc7 (diff)
Merge master.
Diffstat (limited to 'src/cxml.cc')
-rw-r--r--src/cxml.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cxml.cc b/src/cxml.cc
index 2fa6de3..185821c 100644
--- a/src/cxml.cc
+++ b/src/cxml.cc
@@ -196,6 +196,12 @@ cxml::Node::content () const
return content;
}
+string
+cxml::Node::namespace_prefix () const
+{
+ return _node->get_namespace_prefix ();
+}
+
cxml::Document::Document (string root_name)
: _root_name (root_name)
{