summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-18 18:27:13 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-18 18:27:13 +0000
commitd8c19b201f93dc070fb37472f933b53e49b393bc (patch)
treed03dea0fda328120612218413c8aa4526bb75734 /src/pugixml.hpp
parent498947c71897bfad865d37252df6689c1a78e1d8 (diff)
Added xml_document::document_element function
git-svn-id: http://pugixml.googlecode.com/svn/trunk@768 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 9b0d0d6..81fc6c3 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -764,6 +764,9 @@ namespace pugi
// Save XML to file
bool save_file(const char* path, const char_t* indent = PUGIXML_TEXT("\t"), unsigned int flags = format_default, xml_encoding encoding = encoding_auto) const;
bool save_file(const wchar_t* path, const char_t* indent = PUGIXML_TEXT("\t"), unsigned int flags = format_default, xml_encoding encoding = encoding_auto) const;
+
+ // Get document element
+ xml_node document_element() const;
};
#ifndef PUGIXML_NO_XPATH