Отличное решение проблемы "first convert it to a node-set" без использования msxsl:node-set()
Для случая "To use a result tree fragment in a path expression, first convert it to a node-set using the msxsl:node-set() function." представлено отличное решение проблемы без использования msxsl:node-set() . "get xpath from xsl variable" <xsl:stylesheet version = "1.0" xmlns:xsl = "http://www.w3.org/1999/XSL/Transform" > <xsl:output method = "text" /> <xsl:variable name = "myVar" > <RefData RefTag = "test1" bbb = "false" /> <RefData RefTag = "test2" bbb = "false" /> <RefData RefTag = "test3" bbb = "false" /> <RefData RefTag = "test4" bbb = "true" /> <RefData RefTag = "test5" bbb = "false" /> <RefData RefTag = "test6" bbb = "false" /> </xsl:variable> ...