XBeans might be a solution.  I've never worked with them, but might be what
you're looking for:

http://www.xbeans.org/


--- Wilhelm *Rafial* Fitzpatrick <[EMAIL PROTECTED]> wrote:
> >Other approaches anyone? (Apart from using XSLT. Seems like if I choose that
> >route I lose the benefits of the ActionForm/Validation/Token etc.)
> 
> Well, I have a requirement that I need to pass the DOM from my 
> application back to the server without modifying or damaging any part 
> of it that my application is not concerned with, so I've come up with 
> the notion of something I call an XML bean, which is just like a 
> regular Java bean expect that instead of storing its values in fields 
> inside the bean, they are bound to a particular node of the DOM.  I 
> have a set of utility objects so I can do something like:
> 
> private StringField myvar = new StringField( dom, "NODENAME" );
> public String getMyvar() { myvar.get(); }
> public void setMyvar( String s ) { myvar.set( s ); }
> 
> Then I'm making my ActionForms into these XmlBeans, and using them in 
> the struts framework as normal.  So far its worked out well, but I'm 
> not so sure what kind of load they will be able to handle.
> 
> -raf
> -- 
> ______________________________________________________________________
> Eric: I want to live in a world where software doesn't suck //////////
> Richard: Any software that isn't free sucks ////////// [EMAIL PROTECTED]
> Linus: I'm interested in free beer ///// <http://www.3roses.com/> ////
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

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

Reply via email to