xsl:result-document instruction throws error when invoking stylesheet with Calabash
问题 I have an XSL stylesheet that looks like this: <xsl:template name="xsl:initial-template"> <xsl:for-each-group select="collection($doc-collection)//dr:description" group-by="format-date(dr:date, '[Mn]-[Y]')"> <xsl:result-document href="{current-grouping-key()}.html" method="html" indent="yes"> <xsl:call-template name="page"> <xsl:with-param name="desc" select="current-group()"/> </xsl:call-template> </xsl:result-document> </xsl:for-each-group> </xsl:template> (Variables and other templates