Looking at the dom4j examples of writing XML files as shown on the dom4j Web site, they use a FileWriter directly. The JDK documentation indicates that this is intended only for block by block writing and that if character by character writing is needed the the FileWriter should be "wrapped" by a BufferedWriter.
So does the dom4j Document class handle buffering or are the examples slightly misleading and a BufferedWriter rather than FileWriter be passed to Document? Thanks. PS Apologies if these appears to be a newbie question but I suppose I am a newbie, to dom4j anyway. I have used JDOM and am now trying dom4j to see which to use in a case study for a book I am writing. -- Russel. ==================================================== Dr Russel Winder +44 20 7585 2200 41 Buckmaster Road +44 7770 465 077 London SW11 1EN, UK [EMAIL PROTECTED]
signature.asc
Description: This is a digitally signed message part