I'm referring to the actual XML document, in particular the class names.

Given the following example:

<grandad name="gramps">
    <parents name="mom">
        <kids name="John">
            <attribute name="haircolour" value="blonde">
        </kids>
    </parents>
    <parents name="dad">
        <kids name="Jill">
            <attribute name="haircolour" value="brunette">
        </kids>
    </parents>
</grandad>

I'm trying to list the attrributes as:
gramps.mom.John.haircolour = "blonde"

Regards
Emile


----- Original Message -----
From: "Joost Diepenmaat" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, April 08, 2005 12:16 PM
Subject: Re: [Developers] fully-qualified xml fields


> On Fri, Apr 08, 2005 at 12:10:30PM +0200, Emile wrote:
> > Hi All
> >
> > does anyone know of a simple way of retrieving the "fully-qualified"
name
> > for an attribute (by that I mean
"grandparent.parent.node.attributename").
>
> What's a grandparent/parent in MMBase? Do you mean via inheritance,
> (like object.insrel.posrel.pos) or something else?
>
> J.
>
> _______________________________________________
> Developers mailing list
> [email protected]
> http://lists.mmbase.org/mailman/listinfo/developers
>

_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to