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

Re: p:directory step

From: Innovimax SARL <innovimax@gmail.com>
Date: Tue, 24 Jul 2007 13:06:01 +0200
Message-ID: <546c6c1c0707240406l3b72abc9uf7b28be0ea05bd6b@mail.gmail.com>
To: "Norman Walsh" <ndw@nwalsh.com>
Cc: public-xml-processing-model-wg@w3.org

That's interesting but how hard it will be with such a construct
to have the sequence of all files in a directory (non recusive)?

 <p:directory-list name="list" path="." filter="*.xml"/>
  <p:for-each>
     <p:iteration-source select="//c:file"/>
     <p:output port="result"/>
     <p:load href="{/c:file/@name}"/>
  </p:for-each>

Would that work ?

Mohamed
-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 
Received on Tuesday, 24 July 2007 11:06:18 GMT

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