On Jan 14, 2008 9:35 AM, Mukul Gandhi <[EMAIL PROTECTED]> wrote: > But LSSerializer.write has following signature (copied from Xerces javadocs): > > public boolean write(Node nodeArg, LSOutput destination) > throws LSException > > Shouldn't the 1st argument be, Document ?
I am sorry; after having a closer look, I found that Node is the super interface to Document. So this API is correct I feel. But writing the code as, writer.write(Document, output); (where I substitute Document with the object variable) I get a blank output as (i.e. with no markup): <?xml version="1.0" encoding="UTF-8"?> I'll appreciate further help for this ... -- Regards, Mukul Gandhi --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]