xslt轉換-於xslt:for-each中加入流水號


<xsl:for-each select="/函/聯絡方式">
<TextBox Width="260" Height="Auto" BorderThickness="0,0,0,0"
TextAlignment="Left" TextWrapping="Wrap" FontFamily="DFKai-SB"
Background="{x:Null}" BorderBrush="{x:Null}">
<xsl:attribute name="Text">
<xsl:value-of select="." />
</xsl:attribute>
<xsl:attribute name="x:Name">
LET_COMMUNICATOR_DETAIL_ <xsl:number value="position()" format="1" />
</xsl:attribute>
</TextBox>
</xsl:for-each>

沒有留言:

橫式廣告