Like this ???

"
For example: In Dom4J , you can format your xml like this:

... ...
OutputFormat f = OutputFormat.*createPrettyPrint*();
f.setEncode('gb2312')
XMLWriter w = new XMLWriter( out, f);
w.write(document);
w.close();

... ...

"


Denis Weerasiri ??:

Hi,

I wondered if anybody could help at all here please.

After I generate the file I need to format and save it. But if I just use the printwriter and save it to a svg document, it does not get formatted.

Do anyone know how to format a svg file before save it using batik1.7?


begin:vcard
fn:Gentle Yang
n:Yang;Gentle
org:BGI;Bioinformatics Dep. 
adr:;;Shenzhen,China;Shenzhen;GuangDong;518083;China
email;internet:[EMAIL PROTECTED]
x-mozilla-html:TRUE
url:http://nodex.appspot.com
version:2.1
end:vcard


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to