1
只想知道如何從XSLT中的子節點(c)讀取父節點(A)的屬性。代碼:如何從XSLT中的子節點讀取父節點的屬性
<A attr1="xx">
<b>
<c>
</c>
</b>
</A>
XSLT:
<xsl:template match="c">
<xsl:value-of select="attribute of A node">
</xsl:template>