xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael P. Wilson" <mpwil...@earthlink.net>
Subject RE: A humble plea...
Date Mon, 05 Mar 2001 19:55:46 GMT
You, sir, are my personal hero.


------Original Message------
From: Tim McCune <timm@channelpoint.com>
To: "'general@xml.apache.org'" <general@xml.apache.org>
Sent: March 5, 2001 7:42:29 PM GMT
Subject: RE: A humble plea...


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

import javax.xml.transform.*;
import javax.xml.transform.dom.*;
import javax.xml.transform.stream.*;

TransformerFactory.newInstance().newTransformer().transform(new
DOMSource(myDocument), new StreamResult(myOutputStream));

> -----Original Message-----
> From: Michael P. Wilson [mailto:mpwilson@earthlink.net]
> Sent: Monday, March 05, 2001 12:30 PM
> To: general@xml.apache.org
> Subject: A humble plea...
>
>
> I throw my self upon the mercy of the forum...
>
> I just picked up the Deitel XML book.  It has a couple cute
> examples in it
> so I figured what the heck.
>
> For serialization of "Document" objects they use an
> XmlDocument from the
> com.sun.xml.tree package.
>
> I've looked everywhere I could think to look.  Inside jaxp,
> Xerces (just in
> case) and some embarrasing last resorts.  Nothing.
>
> Apparently com.sun.xml is from "Sun Microsystem's internal XML
> API".
>
> So am I looking in the wrong place?  Or is Deitel using
> undocumented code as
> a core feature of their book examples (he asks while loading 9mm
> hollow-points)?
>
> That (almost) aside... What's the "right" way to serialize a
> DOM object to a
> (text) stream?  Or do I just have to do the traversal myself.
>
> TIA,
>
> - Mike
>
>
> Lead me, oh masters, to TFM that I may R it.
>
>
>
>
>
> --------------------------------------------------------------------
> - In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
>

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOqPrpdUPOr8a7vy5EQK+MACg70PpWHO9+39Samvn3EL16Hb3YoIAoJ9m
TmURQ0d7RFLjN+P6cowfcjzo
=Xqtb
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


 


Mime
View raw message