Dear Xerces List,

I'm using Xerces-C++ v. 2.7... I have an existing XML instance document which references an external schema...

and I would like to build a DOM tree out of it that includes PSVI information that I can access.

I've tried several different methods, but cannot seem to get access to any PSVI information from a DOM tree that I create from parsing my document.

I can't find any examples of code that accesses the PSVI using Xerces- C (only J). I see that there is a large number of PSVI and XS related classes in the Xerces source, and I've looked very closely at a lot of the files. I just can't figure out how to build a tree that includes the PSVI info, nor how to access it after parsing.

I've tried creating the DOM tree using DOMBuilder and XercesDOMParser. I see that DOMBuilder has the following feature (that appears to be supported)

        builder->setFeature(XMLUni::fgXercesDOMHasPSVIInfo,true);

        http://apache.org/xml/features/dom-has-psvi-info

Seems like that would indicate that what I want to do is a supported feature, but again, I can't find a single example of PSVI-related code using Xerces-C, so I'm not sure.

Any advice?

Reply via email to