 |
 |
 |
Hi everyone,
I'm trying to obtain info about an element using PSVI (trying to
resolve allowed children and
attributes for that specific element). I'm using Xerces-C 2.7.0.
I obtain a pointer to the corresponding ComplexTypeInfo object which
describes the element.
Then I get the names and namespaces of the allowed children for that
element by using
ComplextTypeInfo's elementAt(index) method and by obtaining pointers
to
SchemaElementDecl objects.
I have a problem with the attributes, though:
I get the list of attributes through getAttDefList() method of the
ComplexTypeInfo object.
Then I obtain a SchemaAttDef for each attribute. SchemaAttDef gives the
attribute's name
through its method getFullName(), but I cannot figure out any way of
finding their namespace
(or namespace prefixes...). Am I missing something?
Can someone please help me?
Thank you so much in advance...
Nicolas
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |