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@yahoogroups.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@yahoogroups.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.
> >
>