schema.getElements().add()

plz check the api docs
http://ws.apache.org/commons/XmlSchema/apidocs/index.html

thanks,
dims

On Wed, May 14, 2008 at 10:20 AM, Ronny Priv <[EMAIL PROTECTED]> wrote:
> Hello,
>
> the XmlSchema tutorial explains how to read, navigate and print a schema but 
> I don't understand how to manipulate it. I couldn't even find an information 
> about that via Google.
>
> You describe how to get e.g. a Type node.
> XmlSchemaType schemaType = schema.getTypeByName("MyType1");
>
> Ok, and via debugging I know there is a a sequence with my element-items 
> attached but there is no add-method to add a new XmlSchemaElement to the 
> sequence. I couldn't even find a getter for the sequence collection I want to 
> manipulate.
>
> Could you help me out here, please?
>
> Thanks
> Ronny
> --
> 249 Spiele für nur 1 Preis. Die GMX Spieleflatrate schon ab 9,90 Euro.
> Neu: Asterix bei den Olympischen Spielen: http://flat.games.gmx.de
>



-- 
Davanum Srinivas :: http://davanum.wordpress.com

Reply via email to