<order>1</name> was just a typo and not well-formed XML... The point he was trying to make is to have some other element with your numbering or you could also have an attribute with the name tag:
<person> <name order="1">Aname</name> </person> <person> <name order="2">Bname</name> </person> ... Cheers, Mike On 6/28/06 9:23 AM, "Stefano Orselli" <[EMAIL PROTECTED]> wrote: > Thank Fabian > i don't understand the tag: <order>1</name> > start with order and finish with name? Which type of variable have this > characteristic in java? > This type of indentation don't resolva my problem with xsl-fo where i select > a single field with: person/name > If you have some response write me! > Ciao > Stefano > ----- Original Message ----- > From: "Fabian Sergio de Rosa" <[EMAIL PROTECTED]> > To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org> > Sent: Wednesday, June 28, 2006 3:15 PM > Subject: Re: numbered tags for an array > > >> i think that's to hard to make >> test if you can >> >> <person> >> <name>Aname</name> >> <order>1</name> >> </person> >> <person> >> <name>Anothername</name> >> <order>2</name> >> </person> >> >> that's most easy to do and most easy to map and understand. >> >> >> 2006/6/28, Stefano Orselli <[EMAIL PROTECTED]>: >>> >>> Hi to all! >>> I've a problem. >>> I transform a bean to an xml file, and after i process this xml file with >>> fop. >>> I've an array (or a collection) but when i create (via betwixt) the xml >>> file >>> i find all the tags for the array value without numeration: >>> example >>> ...... >>> <name>Francesca</name> >>> <name>Stefano</name> >>> <name>Massimo</name> >>> ...... >>> but for a lot of reasons i want numbered tags: >>> example >>> ...... >>> <name1>Francesca</name1> >>> <name2>Stefano</name2> >>> <name2>Massimo</name2> >>> ...... >>> is there a solution? >>> Thanks >>> Ciao >>> Stefano >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]