[ http://issues.apache.org/jira/browse/XMLBEANS-152?page=comments#action_12313060 ]
Ian P. Springer commented on XMLBEANS-152: ------------------------------------------ Dan, as a temporary solution, you could do something like: String schemaName = yourXBean.schemaType().getSourceName(); String schemaPath = "schema/src/" + schemaName; ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); XmlObject schemaXBean = XmlObject.Factory.parse( classLoader.getResourceAsStream( schemaPath ) ); > Ability to get schema as an XmlObject or DOM tree > ------------------------------------------------- > > Key: XMLBEANS-152 > URL: http://issues.apache.org/jira/browse/XMLBEANS-152 > Project: XMLBeans > Type: Improvement > Versions: Version 2 Beta 1 > Reporter: Dan Diephouse > > Right now SchemaTypeSystem only allows you to save a schema to a File or a > Filer interface. It'd be great if you could get out the schema as an > XmlObject or DOM tree. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]