W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > June 2007

Tricky samples of position()

From: Innovimax SARL <innovimax@gmail.com>
Date: Thu, 7 Jun 2007 00:29:36 +0200
Message-ID: <546c6c1c0706061529k729c71d1xf1e46e9d1553eca@mail.gmail.com>
To: "XProc WG" <public-xml-processing-model-wg@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:53 GMT