[jdom-interest] Adding PI's to Document in prologue just after XML declartion

Jason Hunter jhunter at collab.net
Sun Dec 3 22:06:16 PST 2000


> I can modify the code to return the root Element and then add the PI
> first and then set the root Element. Is there anyother way to add PI's
> in the prologue just after the XML declartion

Call doc.getMixedContent(), and you'll have a live list in which to put
or remove objects.

-jh-



More information about the jdom-interest mailing list