Stephen,
XML schema is XML, so you can parse it using Xerces,
manipulate the DOM and then serialize it.
Regards,
Rob Griffin
Quest Notification Service (QNS) Project Leader
Quest Software
2/293 Camberwell Road
Camberwell, Victoria 3124
Australia
Phone: +613 98118021
Fax: +613 9811 8099
http://www.quest.com
> -----Original Message-----
> From: Lingzhi Zhang [mailto:lzhang@xxxxxxxxxxx]
> Sent: Friday, 30 January 2004 8:53 AM
> To: xerces-j-user
> Subject: from XSGrammar to scheam in text
>
>
>
> Hi,
>
> I am writing an application, which parses XML schema as java object,
> makes some changes on the schema object, and output it as a .xsd text
> file. Xerces can loads XML schema as a SchemaGrammar object and some
> API to modify the grammar. I am wondering whether there is
> convenience API
> to output the schema grammar into a .xsd text file, like that
> output a DOM
> tree into a XML file using org.apache.xml.serialize. If xerces doesn't
> have this, are there other APIs which supports it?
>
> Thanks.
>
> Stephen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xxxxxxxxxxxxxx
> For additional commands, e-mail: xerces-j-user-help@xxxxxxxxxxxxxx
>
>
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|