commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jakarta" <>
Subject [Digester] Passing attributes to child elements from parent element
Date Sun, 13 Apr 2003 05:33:47 GMT
Is it possible to pass the parents attribute as a parameter to the method
call of a child element?

For example:

<store name="XXX">
    <catalog catalog-name="YYY"/>

Now every time I cross over the catalog element I want to call a method
     foo(storeName, catalogName)

The storeName parameter is from the parent element's name attribute.

View raw message