Hi Todd,

I'm using DOMBuilderImpl fro parsing to get PSVI. After setting
XMLUni::fgXercesDOMHasPSVIInfo to true you can get PSVI this way:

DOMPSVITypeInfo *typeInfo =
(DOMPSVITypeInfo*)domNode->getInterface(XMLUni::fgXercescInterfacePSVITypeInfo);
const XMLCh *typeName =
typeInfo->getStringProperty(DOMPSVITypeInfo::PSVI_Type_Definition_Name);
const XMLCh *typeURI =
typeInfo->getStringProperty(DOMPSVITypeInfo::PSVI_Type_Definition_Namespace);
XSTypeDefinition::TYPE_CATEGORY typeType =
(XSTypeDefinition::TYPE_CATEGORY)typeInfo->getNumericProperty(DOMPSVITypeInfo::PSVI_Type_Definition_Type);
...

Hope it helps,
Michael

Reply via email to