I guess it could work as follows, but I haven't tried yet: extract from binding.xml
<structure name="section"> <value style="cdata" get-method="getSectionCdata" set-method="setSectionCdata" usage="optional"/> <value style="text" get-method="getSection" set-method="setSection" usage="optional"/> </structure> hth, m Quecas schrieb: > Hi, > > hasn't anyone been faced with the same problem? > > Thanks > Jorge > > > Quecas wrote: > >> Hello all, >> >> I am faced with a customer requirement that I am finding difficult to >> implement. >> The requirement states that an element may optionally contain a CDATA >> section. >> >> I have found, however, that with jibx you can define an element in the >> binding that either contains a CDATA or does not. >> >> I have also tried working around this by using a format but the results >> are escaped. >> >> Does anyone have the answer to this? >> >> Thanks >> Jorge >> >> > > -- > View this message in context: > http://www.nabble.com/Optional-CDATA-tp19780705p19802116.html > Sent from the jibx-users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users