[jdom-interest] My use of JDOM

Jason Hunter jhunter at xquery.com
Wed Oct 20 17:05:38 PDT 2004


> ¿Whats the use of parent in Conent/Parent? ¿WHy
> should a Conent know who's its parent?

An item should know its parent so you can support XPath which has the 
ability to do navigation up the tree as well as down.

Content/Parent were done for OO reasons.  It's not perfect.  XML's not 
easy to model.

-jh-



More information about the jdom-interest mailing list