How to update the variable value in xslt?
问题 I have declared a variable in my .xsl file. Now I want to update the older value with new value. For example: <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"> <xsl:output method="html" indent="yes"/> <xsl:template match="/"> <Document> <xsl:variable name="topLevelHeadings" select = "//w:body/w:p[w:pPr[w:pStyle[@w:val='Heading1']]]"/> <xsl:variable