Thank you very much!
Using SchemaReader and SchemaWriter it seems working!

Werner Guttmann wrote:
> 
> Castor has an internal set of classes that represent an XML schema 
> internally (in form of Java classes). It shoul dbe straight-forward and 
> easy to use these classes to read in an XMl schema, build the object 
> model, change it and write it out back again.
> 
> Have a look at classes such as SchemaReader and SchemaWriter to get 
> yourself going.
> 
> Werner
> 
> upino wrote:
>> Hi, 
>> i must parse an xml schema modify it (adding element and type), serialize
>> it
>> and write it in a new file.
>> I used xerces for parsing and it is exellent but i have many problems to
>> modify and to print the XSModel.
>> So i tried with castor but i have many problems to parse the document and
>> the method marshal print a wrong xsd file.
>> 
>> Can someone help me? Are there java libraries esier than xerces and
>> castor? 
>> Do you have any example of manipoulating xsd document?
>> 
>> Thank you very much for your answers,
>> 
>> upino
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Modify-xml-schema-xerces%2C-castor-or-both-tf4719414.html#a13587674
Sent from the Castor - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to