[jdom-interest] API REQUEST: Allow a branch in a tree to be serialized according to a parameter
Jonathan
jasbell at i-2000.com
Sat Mar 10 07:58:22 PST 2001
Allow a branch in a tree to be limitedly serialized according to a parameter
EX: in the following xml I want to navigate to the "group" level and get all the "publication" children who meet a certain criteria as one string:
<configuration name="content_status_changer">
<publication_groups>
<group name="billboard" log_path="/content_status_change_logs" jsp_home="maintenance_billboard.jsp">
<publication name="musician_magazine" display="Musician Magazine"/>
<publication name="billboard" display="Billboard Magazine"/>
<publication name="dinesh_music_review" display="Dinesh's Music Review"/>
<publication name="cindys_chinese_recipies" display="Cindy's Recipies"/>
</group>
</publication_groups>
</configuration>
I would get as a return the string
<publication name="musician_magazine" display="Musician Magazine"/>
<publication name="billboard" display="Billboard Magazine"/>
<publication name="dinesh_music_review" display="Dinesh's Music Review"/>
<publication name="cindys_chinese_recipies" display="Cindy's Recipies"/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20010310/b8d0b208/attachment.htm
More information about the jdom-interest
mailing list