This commit is contained in:
Crzyrndm 2018-06-25 23:17:21 +12:00
parent 3d3a59012a
commit 0325c19488

View File

@ -18,15 +18,11 @@ namespace {
{
++nest_level;
auto attribs = p.attribute_map();
s.start_element(p.qname());
if (nest_level == 1)
{
s.start_element(p.qname());
ext_uri = xlnt::uri(attribs.at(xml::qname("uri")).value);
}
else
{
s.start_element(p.qname());
}
auto current_ns = p.namespace_();
p.peek(); // to look into the new namespace
auto new_ns = p.namespace_(); // only before attributes?