In my xslt, I call the external code to assign the node to the xslt variable. Now I would like to apply a template to this node set.
<xsl:variable name="var1" select="ExtObject:GetNodeSet()"/>
So far I have seen that templates can be used to enter an XML document. But can I parse the xml assigned to var1 using templates and reflecting the result in the output?
var1
Yes just use
<xsl:variable name="$var1" select="ExtObject:GetNodeSet()"/>
and
<xsl:apply templates select="$var1"/>
This works because the variable stores all the type information, so you can find the correct template.
The answer is yes.
The response result is included only because StackOverflow does not like short answers.
Source: https://habr.com/ru/post/1490208/More articles:How to create a progress dialog in an Android application? - androidhow to build a file contains many columns and a column header using gnuplot - plotDoes emacs support multi-column editing? - emacsUnable to declare a pointer to an unmanaged type - c #gnuplot does not recognize plot for syntax - for-loopIterate Json data from web service in the correct order - javaDisable credential manager for one application - c #Zurb Foundation 4 How to save columns when printing - zurb-foundationhttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1490212/cakephp-and-angularjs-in-routing-harmony-htaccess-rules-to-send-user-to-indexhtml-or-bootstrap-indexphp&usg=ALkJrhgjuT0bBo_tiel63JztR-S6Nx3OhAFiltering grid data using selected value in combo box - javascriptAll Articles