Andrea,

this is currently not supported, but could be added easily. If you raised a new Jira issue at

http://jira.codehaus.org/browse/CASTOR

somebody will have a look at this feature request.

Regards
Werner

Mudnes wrote:
HI,
how can i remove XML declaration in generated file with schemaWriter()?
Please help me.
My code source:
                FileWriter fw;
                SchemaWriter sw = null;
                
                
                try {
                        fw = new 
FileWriter(conf.getURLLibrary()+fileName+".xsd");
                        sw = new SchemaWriter(fw);
                } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                }
                try {
                        sw.write(schema);
                } catch (SAXException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
                }

Thanks
Andrea


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

   http://xircles.codehaus.org/manage_email

Reply via email to