On 17.01.2018 16:19, Kerry, Richard richard(_dot_)kerry(_at_)atos(_dot_)net
wrote:
<x:template
match="type[text()='Action'][$data/device-description/param[@name=../base-name/text()]/@standard='no')]
" >
You don't need all the explicit text() checks and in the second
predicate I think you want
match="type[. = 'Action'][../base-name =
$data/device-description/param[@standard='no']/@name]"
or perhaps
match="device-value[base-name =
$data/device-description/param[@standard='no']/@name]/type[. = 'Action']"
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--