[jdom-interest] Has any one done a JDOM <> JTreeModel adaptor

philip.nelson at omniresources.com philip.nelson at omniresources.com
Thu May 24 08:12:09 PDT 2001


> At 8:50 AM -0400 5/23/01, skeens wrote:
> >>From my readings, XSLT considers everything a Node, even 
> >>attributes. So there is some precedence to making attributes Nodes. 
> >>In fact I remember reading that the original idea was to represent 
> >>all individual characters as nodes.
> >
> 
> Yes, it's a node; but it's still not a child. It's on a separate axis 
> and getMixedContent() should not return it.

Perfectly said.  Depending on how you see nodes, you may or may not want to
think of it as a node.  I agree that getMixedContent should never return
attributes.



More information about the jdom-interest mailing list