Dave tks.. i forgot to use xstream.processAnnotations( TheClassContainingBookName.class);
tks 2013/3/1 DJDaveMark <djdavem...@yahoo.co.uk> > Hi Fabio > > or you could use the annotations... > > XStreamAlias("book") > private BookName bookName; > ... > xstream.processAnnotations(TheClassContainingBookName.class); > > Annotations tutorial: > http://xstream.codehaus.org/annotations-tutorial.html > > :o) > > Cheers, > DaveMark > . > > ------------------------------ > *From:* Jörg Schaible <joerg.schai...@gmx.de> > *To:* user@xstream.codehaus.org > *Sent:* Friday, 1 March 2013, 19:04 > *Subject:* [xstream-user] Re: Help fromXml > > Hi Fabio, > > Fabio Ebner wrote: > > > Hi. i have one tag named <book>dd</book> but in my object the name of > > prop are bookName > > > > can anyone help me how i can put the book value into my bookName prop? > > xstream.aliasField > > Please have a look at the alias tutorial. > http://xstream.codehaus.org/alias-tutorial.html > > Cheers, > Jörg > > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > > -- Fabio Ebner *Email: *fabio.eb...@dnasolution.com.br *Telefone: 13 3221-3616 / 13 3221-6591* *Endereço: Avenida Ana Costa, 59 Cj 89 - Santos/SP*