Whether in debug mode or not, this statement is returning no hits. In debug mode, if a watch is set with the name =/XMI/XMI.content, the correct value is returned. But if the watch is set to /XMI/XMI.content/UML:Diagram an empty value returns.
Subject:Re: an xpath query that works in query editor doesn't work in xslt Author:(Deleted User) Date:16 Feb 2007 12:24 PM
Hi Joe,
the problem is that the XSLT stylesheet associates the UML prefix to
the namespace "org.omg.xmi.namespace.UML" while the XML document
associates it to "omg.org/UML13", so the UML:Diagram query done by
the XSLT cannot match the UML:Diagram node of the document.
I don't know which namespace is right, but you must make them match.