RE: Save/Update data to XML-File

2002-03-28 Thread Tero P Paananen

> The digester is bi-directional, and can create a JavaBean from XML, or
> XML from a JavaBean. The RSS digester is a good example. 
> 
> http://jakarta.apache.org/commons/digester/commons-digester-1.
> 1.1/docs/api/org/apache/commons/digester/rss/RSSDigester.html
> 
> This approach could be used to store user profiles, but I'm 
> not aware of
> a published implementation. 

I have been experimenting with Castor (castor.exolab.org),
an open source data binding framework for Java.

It's rather nice, but one thing it can't, yet, do too
well is xml mapping into hashtables, sets or maps.

JavaBeans it can do very nicely.

-TPP

--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Re: Save/Update data to XML-File

2002-03-28 Thread Ted Husted

The digester is bi-directional, and can create a JavaBean from XML, or
XML from a JavaBean. The RSS digester is a good example. 

http://jakarta.apache.org/commons/digester/commons-digester-1.1.1/docs/api/org/apache/commons/digester/rss/RSSDigester.html

This approach could be used to store user profiles, but I'm not aware of
a published implementation. 

-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services


[EMAIL PROTECTED] wrote:
> 
> Hi,
> 
> in the struts-example the user data can be read with the help of a
> hashtable an a struts digester.
> But whats about updating the data in the xml-file after user changes?
> The digester can't do. Is there any possibility with struts to update the
> hastable data in the xml-file comfortable.
> Or is there a need to do this outside with e.g. jdom and xerces not so
> comfortable?
> 
> Has somebody an advice or an code example?
> 
> Thanks
> Susanne
> 
> --
> To unsubscribe, e-mail:   
> For additional commands, e-mail: 

--
To unsubscribe, e-mail:   
For additional commands, e-mail: