Closed GoogleCodeExporter closed 9 years ago
This works fine with the attached source.
What version of pugixml are you using? Can you show the code sample that
reproduces the problem?
Original comment by arseny.k...@gmail.com
on 28 Jul 2014 at 3:56
Attachments:
Sorry, silly mistake
pugi::xml_node question = m_test.last_child();
// question.append_attribute(L"type") = L"input"; problem with this string
const pugi::xml_attribute lastGroup =
m_test.select_single_node(L"//test[@type='input'][last()]/input[last()]").node()
.attribute(L"group");
int number = (lastGroup ? lastGroup.as_int() + 1 : 0);
question.append_attribute(L"type") = L"input";
Awesome fast support :)
Original comment by mrglu...@gmail.com
on 28 Jul 2014 at 4:51
I'm slightly confused; can you confirm that this was a user error so that I can
close the issue? Or do you still see the problem?
Original comment by arseny.k...@gmail.com
on 10 Aug 2014 at 9:57
Original comment by arseny.k...@gmail.com
on 10 Aug 2014 at 9:57
Closing since it seems to have been a user error.
Original comment by arseny.k...@gmail.com
on 25 Aug 2014 at 5:29
Original issue reported on code.google.com by
mrglu...@gmail.com
on 28 Jul 2014 at 1:20