Is it possible to set a variable name for the value of the match attribute in the xslt template tag. Any help?
I'm not quite sure what you want to achieve, but here is an example:
<!-- a variable --> <xsl:variable name="x" select="//some/path"/> <!-- a template to match all elements with the name of the variable --> <xsl:template match="*[name(.)=$x]"> Yes! <xsl:value-of select="."/> </xsl:template>
Source: https://habr.com/ru/post/1344076/More articles:which jsf-impl should i use? - mavenAndroid onLocationUpdate not called using GPS_PROVIDER - androidHow are jsf-api and jsf-impl related? - javaUse a custom Django model or create your own model? - pythonMoving rails from MySQL to MongoDB - ruby | fooobar.comHow to write Arquillian tests for JSF classes - javaDeploy Office 2010 Deployment - c #struts.action.excludePattern does not work, - servletsHow to get username from Active Directory? - c #Insert text into editable iframe at carriage position (IE) - javascriptAll Articles