Tricky samples of position()

1)

<p:head>
  <p:option name="count" select="position()"/>
</p:head>

idem for

1 bis)

<p:tail>
  <p:option name="count" select="position()"/>
</p:tail>

2)

<p:wrap-sequence>
 <p:option name="wrapper" select="concat('wrapper', position())"/>
</p:wrap-sequence>

3)

<p:xslt2>
  <p:option name="initial-mode" select="concat('template', position())"/>
</p:xslt2>


Mohamed

-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 8 72 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Wednesday, 6 June 2007 22:29:39 UTC