Hi,
In the context of an XXE Java extension (a CSS extension, precisely), I'd
like to find out what is the schema type of an element found in the document
being edited. Assuming I have an Element node in XXE which is validated
against an W3C XML Schema, I'd like to obtain the name of the element's
complexType or simpleType.
I know how to get an XXE ElementType
Element dataElement = ...;
DocumentType dataDocType = (DocumentType) dataElement
.getProperty(Constants.DOCUMENT_TYPE_PROPERTY);
ElementType dataXxeType = dataDocType.getElementType(dataElement);
Now how do I obtain a concrete implementation of
com.xmlmind.xml.wxs.validate.Type from there?
I keep browsing through the API without finding the link between the 2 types
of types.
Thanks in advance.
Benoit
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20091124/a2066168/attachment.htm