> again, i'm afraid that there's no way to do this at the moment. > > i don't really see how it could be automatically supported by > introspection - but it would be reasonable to add a new element type to > the .betwixt xml. we'd have something like <content property='foo'/> which > would convert whatever property foo returns to a string and then add it to > the xml in the given position. > > how would this sound? >
yes it's very logically. So all xml entities (elements,attributes,element body) can be deternined in the betwixt files > - robert > > On Monday, March 17, 2003, at 10:24 AM, Maksimenko Alexander wrote: > > > And how to write element wich have mixed content e.g. > > <sql id="1"> > > <![CDATA[ > > SELECT * FROM userprofile WHERE userprofile.id < 10 > > ]]> > > </sql> > > Hi, > > > > I've searched the mailing list for this one and maybe I'm missing > > something > > very obvious, but - is it possible to get the text of mixed element > > content > > with betwixt? > > > > e.g. > > > > <foo> > > <bar>blah</bar> > > This is text... > > </foo> > > > > In this case I'll have a class for Foo and bar will be mapped to a > > String > > property of Foo. But what happens to the text? > > > > Off topic - I am very happy with Betwixt so far (just started playing > > with it) > > and I have high hopes that it will eliminate the need for maintaining > > my own > > tool (based on the SAXModelBuilder example from my book). > > > > > > Thanks, > > Pat Niemeyer > > Author of Learning Java, O'Reilly & Associates and the BeanShell > > scripting > > language. > > > > > > > --------------------------------------------------------------------- > 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]
