Remark: : Node count
예제1
1 2 3 |
<xsl:variable name="ADTSeat" select="count(WS_BPC/PASSENGER/PASSENGER_DATA[TYPE='ADT'])"></xsl:variable> |
예제2
1 2 3 4 5 6 7 |
<xls:variable name="LegCount" select="count(//Property[@Name = 'Alive' and long = '11007'])/> LegCount : <xsl:value-of select='@LegCount'/> => LegCount : 2 |
예제3
1 2 3 4 5 |
<xsl:number value="position()" format="01"/> // 01 |