users@jaxb.java.net

xjc:dom in an .xjb file

From: Nicolas Pujol <nicolaspujol_at_yahoo.com>
Date: Wed, 23 Mar 2005 07:21:21 -0800 (PST)

Hi,

 I was wondering if you had an example of the xjc:dom
instruction used in a .xjb file instead of embedded in
a schema.

I unsuccessfully tried this:

<jxb:bindings node="//xs:complexType[@name='t_form']">
<jxb:bindings node=".//xs:sequence">
<xjc:dom/>
</jxb:bindings>
</jxb:bindings>

for this schema

<xs:complexType name="t_form" mixed="true">
<xs:sequence>
<xs:any processContents="skip" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="formid" type="xs:ID"
use="required"/>
</xs:complexType>






                
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/