Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JDOM User »

[jdom-interest] Processing Instructions

Einar Egilsson

2004-07-23

Replies:

Hi

I´m new to this list. Work in iceland and am currently using JDOM on a project.
I noticed to today that if I add a ProcessingInstruction before I set the
root element of the document then it works fine but if I set it AFTER i´ve
called doc.setRootElement(someElement) then it doesn´t show up when I´m outputting
the XML. Does anyone know if this is intentional or a bug?

EE
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@(protected)
©2008 junlu.com - Jax Systems, LLC, U.S.A.