PSVI is available on all elements. XSModel is for one of the PSVI
properties [schema information], and should only be available on the root
element, as required by 3.15.5 of the structure spec.
Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
[EMAIL PROTECTED]
Frank Jakop
<[EMAIL PROTECTED]> To: [EMAIL PROTECTED]
cc:
02/21/2003 03:18 Subject: Accessing PSVI info
for non-document-root-elements
AM
Please respond to
xerces-j-user
Hello Xerces users,
I'm quite new in using Xerces and I've got one question: How can I access
the PSVI infos for other elements than the root element. I tried the
example in the FAQ (accessing PSVI via DOM) and it works well, but if I try
the same and use a different element of the DOM-tree, no XSModel will be
created. Say p.e. my XML file references a schema Z and looks like
[...]
<ns:root>
<class1 attr1="abcde">
...
</class1>
<class2>
...
</class2>
</ns:root>
How can I access the PSVI info for <class1>?
Best regards
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]