You need to bind the Profile:AND element to a variable (say $p) and then you can use test="@xmi:id = $p/base_Part". To bind variables, look up xsl:variable.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|