avoid the use of 'mixed=true' in xml schema

Posted by Ralph Kretzler on Stack Overflow See other posts from Stack Overflow or by Ralph Kretzler
Published on 2010-05-19T15:28:59Z Indexed on 2010/05/19 15:30 UTC
Read the original article Hit count: 583

Filed under:
|
|
|

I am using xjc to convert a schema to java classes. When I am using mixed=true in the schema I am losing the access method for child nodes instead there is a single general content access method.

Is there a way to rewrite the schema without using mixed=true. There is no way that I can change the xml so I have to customize the schema.

Schema

XML camera or camera>

Thanks, Ralph

© Stack Overflow or respective owner

Related posts about xml-schema

Related posts about xjc