Swanson, Brion wrote:
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 am probably wrong, but I believe that is an upcoming
DOM level 3 feature. Is that rig
Hello people. Yes, you can use an identity transform : use the method newTransformer() (class TransformerFactory) with no parameter. Another way is to use JDOM which is almost a JDK API (that is to say, not an implementation).
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 s
-
From: Swanson, Brion [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 11:02 AM
To: '[EMAIL PROTECTED]'
Subject: RE: JAXP and serialization APIs
I'm sorry, I was unclear with my use of 'serialize'. I meant
serializing
the DOM into XML (as in the org.apache.xml.seri
Hello people. I'm not sure about what you want to do exactly but if you want to serialize an XML document, the best way to do it is to serialize it in a text file (i.e. an XML file). And for this, you can use JDOM which is almost a JDK API (that is to say, not an implementation). Hope that helps.
com> <[EMAIL PROTECTED]>
cc: (bcc: Scott
Boag/CAM/Lotus)
08/30/01 10:17 AM Subject: JAXP and
serialization APIs
sorry for the wasted bandwidth - please ignore my previous stupid answer
(hey, it's early!). i often forget that "serialization" in an XML context
is a bit different than "serialization" in a Java context. duh! :-/
-
To unsubscr
-
Brion Swanson - West Group / Rochester, NY
mailto:[EMAIL PROTECTED]
-Original Message-
From: Reynolds, Ron [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 30, 2001 10:34 AM
To: '[EMAIL PROTECTED]'
Subject: RE: JAXP and serialization APIs
do the serialization by hand? s
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
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.
Fo
10 matches
Mail list logo