[jdom-interest] Merging text nodes

philip.nelson at omniresources.com philip.nelson at omniresources.com
Mon Feb 18 20:17:44 PST 2002


> > 
> > So we shouldn't allow the following sequence of code?
> > 
> >     Element e = new Element("title");
> >     e.addContent( new Text("Cats "));
> >     e.addContent( new EntityRef("connect"));
> >     e.addContent( new Text(" Dogs"));

> From what I understand we're all saying, you can do that, but 
> we won't do any fancy merging behind the scenes.

Right.



More information about the jdom-interest mailing list