0
XSLTのキー値を反復する際に問題が発生しています。XSLTのキーに基づいて要素のグループを反復しようとしています
<xsl:key name="group" match="Orders" use="number" />
と、この後:
<xsl:variable name="orderNodes">
<xsl:copy-of select="key('group', number)" />
</xsl:variable>
私はこれを反復処理しようとしています:
<xsl:for-each select="$orderNodes/Orders">
<xsl:value-of select="number" />
</xsl:for-each>
が、私はエラーを取得しています:私はこのライン持っ
ERROR: 'Could not compile stylesheet'
FATAL ERROR: 'Could not compile stylesheet'
:Error checking type of the expression 'FilterParentPath(variable-ref(groupNodes/result-tree), step("child", 14))'.
javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet
を
何か間違っていますか?
私のコードで間違いを修正しました。 – ttdol2506