Out of curiosity, what is in those annotations that can't be represented
using standard schema extensions?

- Rick
-----Original Message-----
From: Igor Lobanov [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 6:15 AM
To: j-users@xerces.apache.org
Subject: Accessing annotated XML schema

Greetings!

My application must generate XML documents, based on a set of XML 
schemas. I would like to use XML Schema API to introspect a schema at 
runtime and construct resulting document element by element. These 
element declarations in schemas are annotated using non-standard 
attributes (from another namespace), which define exactly what 
information should be in the instance document inside these elements.

The question is whether there is a way to retrieve such "annotations" 
from the schema object model in a standard or a Xerces-specific way?
I havn't found any way to do it by studying XML Schema API offered by 
Xerces.

Thanks in advance!

-- 
Igor Lobanov
Internal Development Engineer
SWsoft, Inc.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to