I am sure this is a very easy question, but I just can not find the
answer.
I am producing a couple of XML documents using hibernate and DOM4J.
Within DOM4J I do not see how get the XML declaration (<?xml
version="1.0"?>) to
appear at the top of the file.
I tried using an OutputFormat and setting setSuppressDeclaration(false),
but that did not work.
Does anybody have any suggestions?
thanks for your help.
kbd
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user