No, I guess I'm not aware of a similar functionality elsewhere. What is the
error you are getting? Are the JDom objects just not being created?
Don
Harish M wrote:
>
>
> Hi Don,
> Thanks for your time to reply. Do you suggest any alternative which will
> help me to model the submitted data as XML with the power of validataion ?
>
> Thanks.
>
> ----- Original Message ----
> From: Don Brown <mrdon@... <mailto:mrdon%40twdata.org>>
> To: struts-xsl@yahoogroups.com <mailto:struts-xsl%40yahoogroups.com>
> Sent: Saturday, August 5, 2006 1:41:51 AM
> Subject: Re: [struts-xsl] Re: Model with repeat tag!
>
> To be honest, I kinda gave up working on that stuff, as I didn't see as
> much
> benefit as I had originally. If you have any improvements, post and
> patch and
> I'll apply it.
>
> Don
>
> it_hari wrote:
> >
> >
> > Atlast, myself found a way.....
> > I created form fields like "/m:test/m:internet [1]/m:email" and
> > "/m:test/m:internet [2]/m:email" which helped me to create the required
> > DOM..i guess this is what Don was trying to tell us.
> >
> > But i still have getting this working with JDOM implementation of
> > AbstractFactory - with DOMForm it works fine! Any ideas ?
> >
> > Thanks.
> >
> > --- In struts-xsl@yahoogro ups.com <mailto:struts- xsl%40yahoogroup
> s.com>,
> > "it_hari" <it_hari@... > wrote:
> > >
> > > Adding to this, i found in one of the threads Don suggesting :
> > >
> > > "With a recent improvement in JXPath (included in the latest stxx
> > > release believe), you now don't have to specify your model at at all
> > > - JXPath will build the JDom/DOM element just by creating elements and
> > > attributes if they don't already exist."
> > >
> > > Please let me know how to achieve the above. I have jxpath version 1.1.
> > >
> > > Thanks.
> > >
> > > --- In struts-xsl@yahoogro ups.com
> > <mailto:struts- xsl%40yahoogroup s.com>, "it_hari" <it_hari@> wrote:
> > > >
> > > > Hi All,
> > > > I wanted my form data to be transfered something like:
> > > > <data>
> > > > <user>
> > > > <name>test1< /name>
> > > > <age>20</age>
> > > > </user>
> > > > <user>
> > > > <name>test2< /name>
> > > > <age>20</age>
> > > > </user>
> > > > <user>
> > > > <name>test3< /name>
> > > > <age>20</age>
> > > > </user>
> > > > </data>
> > > >
> > > > In such a case, how shall i define my model layout in xmlforms-models
> > > > file ? Is this achievable ?
> > > >
> > > > Thanks.
> > > >
> > >
> >
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>