From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-11-10 13:38:13
On 11/9/05, Marcin Kalicinski <kalita_at_[hidden]> wrote:
> Property tree is a data structure - a tree of (key, value) pairs. It
Here's a small patch that changes the way XML attributes are handled.
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.
Take it or leave it, its just an idea. Thanks for this nifty little library
with its extensive docs!
-- Caleb Epstein caleb dot epstein at gmail dot com