Naren Chawla wrote:
> 1. Generate a schema grammar from XML Schema file
Yes, you can do it with Xerces using DOM L3 Load APIs.
> 2. Change the schema grammar programmatically (for e.g., add a new
> element)
> 3. Generate a modified schema file on the filesystem from the modified
> schema grammar
We don't provide any APIS to allow to modify XML Schema in memory. If
you want - you can always hack into Xerces internal code, but ...
> However, unsure
> whether I could achieve "3" at all. I would appreciate a quick reply on
> this.
We don't provide any APIS to serialize XML Schemas.
As I've mentioned before we don't have any plans to support XML Schema
editing in Xerces.
--
Elena Litani / IBM Toronto
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]