xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dane Foster" <dfos...@equitytg.com>
Subject Re: Xml writer
Date Tue, 10 Oct 2000 13:22:37 GMT
JDOM provides something like that.  JDOM uses real java objects (linked
lists, arrays, etc....)  to represent the XML documents instead of
interfaces.  This means you can manipulate the objects like you would any
java objects via your standard get and set methods and your change will show
up in the document.  Naturally, there are bound to be limitations to what
you can do plus you may have to pay the price of non portability of your
code, but depending on your needs portability may not matter.  You can check
it out at http://www.jdom.org  Happy hunting.

Dane
----- Original Message -----
From: "Joe Faith" <faith@runtime-collective.com>
To: <general@xml.apache.org>
Cc: "Guillaume" <guillaume@runtime-collective.com>
Sent: Tuesday, October 10, 2000 5:06 AM
Subject: Re: Xml writer


> Venkat and Dane;
>
> It would also be worth looking at XML-Java data binding, in which a Java
object
> tree is bound to an XML document such that updates to the objects are
reflected
> in the document:
>
>  http://www-4.ibm.com/software/developer/library/data-binding1/?dwzone=xml
>
> There is also an implementation for this for the Enhydra system, but I
don't
> know how reliable it is.
>
> Joe Faith
> Runtime Collective, Web Engineers
>  http://www.runtime-collective.com/
>
> Dane Foster wrote:
>
> > Use the XML serializer.  It's located in org.apache.xml.serialize.  You
> > should review the java docs to get a feel for how to use it.
> > ----- Original Message -----
> > From: "Venkat Ramana Karpuram" <vramana@gst.fnc.fujitsu.com>
> > To: <general@xml.apache.org>
> > Sent: Monday, October 09, 2000 7:13 PM
> > Subject: Xml writer
> >
> > > Hi!
> > >       I am working with generation of Xml files from Java objects.
> > wherever i have
> > > read, i didn't get a way to generate an xml document from a DOM tree.
The
> > way
> > > parser generates a DOM tree from xml file, i am expecting that there
> > should be
> > > some way to generate an xml file from a DOM tree. I could not find any
API
> > which
> > > does this job in the Xerces-1_2_0  documentation.  If anyone knows it,
> > please let
> > > me know.
> > > Thanks & Regards
> > > Venkat Ramana
> > >
> >
>
> --------------------------------------------------------------------------
--
> > ----
> >
> > > ---------------------------------------------------------------------
> > > 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
> >
> > ---------------------------------------------------------------------
> > 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
>
>
> ---------------------------------------------------------------------
> 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