Re: Identifying the source schema for PSVI contributions

I understand that I can find the schemas which have been used to 
validate a document. However, my problem is this:

If I have obtained an object isomorphic to the element declaration from 
my PSVI enhanced DOM Element, then I can query it for the target 
namespace of the element declaration, which is usually the same as the 
target namespace of the schema document it has come from.

However, when using elementForm="unqualified", any element declarations 
that I have that are not globally scoped in the schema document have a 
target namespace of _absent_. This occurs more frequently when we talk 
about attribute declarations, where it is more usual to use 
attributeForm="unqualified".

In this situation, given the object isomorphic to the element 
declaration, how can I find the target namespace of the schema document 
it came from (or, in fact, any other kind of uniquely identifying 
information).

-- 
John Snelson, Software Engineer        +44-1865-203192
DecisionSoft Limited                   http://www.decisionsoft.com
XML Development and Services

Received on Thursday, 28 August 2003 11:24:31 UTC