I'm having trouble understanding how information about derived types is maintained. I have a schema with a derived type declared, and an instance document which uses it (via xsi:type). I know that this type information is maintained by the DOM, because if I parse a document and then write it back out, the type information appears in the saved document.

How do I access this information, and how do I create an element and specify that it is of the derived type? I currently use CoreDocImp.createElementNS to create elements, but I can find no other method to set the elements type.

Thanks - Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscr...@xerces.apache.org
For additional commands, e-mail: j-users-h...@xerces.apache.org

Reply via email to