June Kim wrote: > That code is dependent on the deep path structure of the document. > That means the code is broken whenever the document author changes the > structure slightly(on the path to the our target elements) to go down > in this case).
Agreed, but at the moment x2j can only express simple paths. If it ever supports XPath I would prefer a more "intentional" approach, as you said. -Dan ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
