Closed GoogleCodeExporter closed 9 years ago
Yes, the current interface does not let you chain calls freely. Some additional
accessors with support for call chaining would be useful; the request is noted.
I'll
update this issue once there is further information.
Original comment by arseny.k...@gmail.com
on 27 May 2010 at 4:20
The new version of pugixml, 1.0, lets you use the new append_child function to
omit the set_name call:
xml_node job = xml.append_child("job");
Making append_attribute return xml_node to support chaining can't be done,
since the function should logically return the attribute; making an extra
append_attribute variant just for this case unnecessary complicates the API -
so there are not going to be any changes to attribute appending.
I'm closing this issue.
Original comment by arseny.k...@gmail.com
on 31 Oct 2010 at 6:31
Original issue reported on code.google.com by
yegor256
on 4 Apr 2010 at 2:17