Hi Jim,

At 12.49 01/02/2005 -0800, brutocao wrote:
Hello,

I have been looking through the xerces mail archives, and still cannot seem to get my code to work. My basic question is: if I am walking the DOM tree using xerces-c++, how can I get at the PSVI information from a DOMNode pointer (which I call curNode in the code samples below)? I found this code to work:
[...]

This method returns you the name of the type, whether is a simple or complex type and so on; at that point you can look at the GrammarResolver object, retrieve the object for that type and walk its inheritance chain.
Or you can install your own PSVIHandler object into the parser and navigate the PSVIElement object that is provided (for this method, have a look at the PSVIWriter sample).


Alberto



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to