mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
Cleanup
This commit is contained in:
parent
3d3a59012a
commit
0325c19488
|
@ -18,15 +18,11 @@ namespace {
|
||||||
{
|
{
|
||||||
++nest_level;
|
++nest_level;
|
||||||
auto attribs = p.attribute_map();
|
auto attribs = p.attribute_map();
|
||||||
|
s.start_element(p.qname());
|
||||||
if (nest_level == 1)
|
if (nest_level == 1)
|
||||||
{
|
{
|
||||||
s.start_element(p.qname());
|
|
||||||
ext_uri = xlnt::uri(attribs.at(xml::qname("uri")).value);
|
ext_uri = xlnt::uri(attribs.at(xml::qname("uri")).value);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
s.start_element(p.qname());
|
|
||||||
}
|
|
||||||
auto current_ns = p.namespace_();
|
auto current_ns = p.namespace_();
|
||||||
p.peek(); // to look into the new namespace
|
p.peek(); // to look into the new namespace
|
||||||
auto new_ns = p.namespace_(); // only before attributes?
|
auto new_ns = p.namespace_(); // only before attributes?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user