I have a simple problem with "text" element.
The "text" element not works if it only one element in betwixt file, but it work if I uncomment for example "attribute" element or add any other element.
Is it possible to use only <text> attribute?
I try to get clean xml like
<div>bla bla bla</div>
I using next .betwixt file
<?xml version='1.0' encoding='UTF-8' ?>
<info primitiveTypes='element'>
<element name='div'>
<!--attribute name="class" value="div"/-->
<text property='div'/>
</element>
</info>
to marshaling next simple class
public class Div {
private String div;
public Div() {
}
public String getDiv() {
return div;
}
public void setDiv(String string) {
div = string;
}
}Best regards, Alexey Cheremisin.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
