Hello, I'm new to Betwixt, and I'm trying to transform this XML:
<Response version="0.2.928" xmlns=""> <IsError>0</IsError> <Content> <Id>8107</Id> <Title>Ilusionismo - Cris Angel</Title> <Description>Show de magica....</Description> </Content> <Content> <Id>8108</Id> <Title>Titulo</Title> <Description>Bla bla bla</Description> </Content> ... </Response> into these Beans: public class Response { private int IsError = -1; private List<Content> Contents = new ArrayList<Content>(); public Response() {} public int getIsError() { return IsError; } public void setIsError(int isError) { IsError = isError; } public List<Content> getContents() { return Contents; } public void addContent(Content content) { Contents.add(content); } } But, as far as I understood, it's only possible if the "Content" tags have a "container" tag, like "contents". Is that true? I cannot recreate the XML, with the container tag, because its created by another system. I populated the "isError" propertie with no problem. I found that Xstream has an "addImplicitCollection" method, that alows exactly this. Does Betwixt has something like this? I'm looking through the documentation and mail archive for 2 days now and couldn't find how to do that. :-( Any help is welcome. Thanks a lot, Leonardo Barbosa [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]