using the org.apache.xerces.impl.xs.identity package 2006-10-12 - By Mathis Kueckens
hi, for my diploma thesis I'm programming a transformation tool, that transforms XML schemas to UML class diagrams. For traversing the xml schema structure I use the xerces xml schema api.
Currently I try to transform keyref-to-key-relations into uml associations. Therefore I need to resolve the Xpath expressions within the IdentityConstraint expressions (XSIDCDefinition) to get the attributes/elements the key/keyRef-Element is assigned to.
I tried to use the "org.apache.xerces.impl.xs.identity" package that implements the key-keyref concept. So far I didn't reach my goal.
My question: Is this package (maybe with interaction to other XPath implementations) is able to resolve the xpath expressions (within <xs:selector>- and <xs:field>-elements) to resolve the attribue/element declaration (XSAttributeDeclaration, XSElementDeclaration) it belongs to?
Thank You
Mathis
------------------------------ Technical University of Berlin Germany ------------------------------
--------------------------------------------------------------------- To unsubscribe, e-mail: j-dev-unsubscribe@(protected) For additional commands, e-mail: j-dev-help@(protected)
|
|