xerces-c-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alberto Massari <amass...@datadirect.com>
Subject Re: Retrieve list of valid children based on element name.
Date Thu, 25 Jan 2007 15:00:23 GMT
At 08.48 24/01/2007 -0600, Timothy Strimple wrote:
>Alberto Massari wrote:
>>XSTypeDefinition is just the base class; depending on the value 
>>returned by getTypeCategory() you have to cast it to either a 
>>XSComplexTypeDefinition or XSSimpleTypeDefinition, where you will 
>>find the rest of the informations.
>Ah! Thank you very much! So getAttributeUses() for the attributes 
>and getParticle() for the content information? Is documentation on 
>this other then whats listed in the Xerces documentation? It looks 
>like I can call getElementTerm() to retrieve a single element from 
>the particle, or getModelGroupTerm() if there is a set of elements. 
>Also, is there a resource for explaining the terms used in the PSVI? 
>Are Model Groups and Wildcards related to XML Schema or specifically 
>to the PSVI. I'm hoping to find a better way to learn more about 
>this type of schema work without having to pester the list with a 
>lot of questions.

Hi Timothy,
the naming comes from the XMLSchema lingo; infact, the entire data 
structure is replicating how the schema was written. As for the 
documentation, the only other part you can read is the sample SCMPrint.


View raw message