xslt - Match node of called template -


says that I have a random template in XSL:

   

I want to output we only call the first node set. Is this a great way to do this? If I do not have the source XML, but the result of a template, then how can I match the node?

Thank you!

If you save the result of calling the template in a variable, then you should use XPath

  & lt; Xsl: variable name = "result" & gt; & Lt; Xsl: call-template name = "keyword" /> & Lt; / XSL: variable & gt; & Lt; Xsl: Select Selection = "$ keyword / test [1]" />  

Comments