Thank you.  I think that's exactly what I was looking for.  Much
appreciated!

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


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



If you look at javax.xml.transform, you can do what is termed an identity
transformation, which is essentially serialization.  This allows you to
serialize SAX events, DOM trees, or re-serialize a stream.  As a serializer
it is a bit limited in it's ability to handle doc type stuff, but in other
ways it is quite powerful.

Xalan on Apache implements javax.xml.transform.  There are other non-apache
implementations as well.

-scott




 

                    "Swanson, Brion"

                    <[EMAIL PROTECTED]       To:
"'[EMAIL PROTECTED]'"                             
                    group.com>
<[EMAIL PROTECTED]>                                      
                                              cc:     (bcc: Scott
Boag/CAM/Lotus)                                  
                    08/30/01 10:17 AM         Subject:     JAXP and
serialization APIs                             
                    Please respond to

                    xerces-j-user

 

 





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]

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

Reply via email to