do the serialization by hand?  serialization requires binary compatibility
between objects (with relatively simliar VMs).  of course you could always
convert the DOM to XML and serialize that, which is probably easier than
doing it by hand and has roughly the same result.  either way i don't think
you can avoid constructing a new DOM tree on the receiving side and expect
it to self-populate from the incoming serialized DOM tree (unless they have
matching internal implementations).

-----Original Message-----
From: Swanson, Brion [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 7:17 AM
To: '[EMAIL PROTECTED]'
Subject: JAXP and serialization APIs


I know that JAXP is a common API for parsing XML (that is, you can plug any
compliant XML parser in without changing any code), but is there anything
like that for serializing a Document?

I must be missing something because I'm not finding any serializers that
aren't tied to any given package.

For example, I'm using Xerces to do my parsing through its implementation of
the JAXP API.  I'd also like to serialize a Document or two, but it appears
that I now must tie my application into some particular implementation -
that is to say, Xerces.

Is there anyway I can get around this?

--------------
Brion Swanson - West Group / Rochester, NY
mailto:[EMAIL PROTECTED]

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

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

Reply via email to