From: Marcin Kalicinski (kalita_at_[hidden])
Date: 2005-11-11 05:56:59
>Instead of creating the node node/<xmlattr>/attr, the node is created as
>node/@attr which allows a more XPath-style of query to be used (e.g.
>path.to._at_attr). In either case the caller needs to know a little something
>about the source data (e.g. to search for <xmlattr>/attr or @attr) and I
>personally prefer the more XPath-like naming.
XPath naming is indeed nicer, but it has a small disadvantage: you cannot
iterate easily over all attributes or all keys because they are mixed
together. I might add it as another option to XML parser.
thanks for the patch,
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk