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

Re: p:directory step

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 24 Jul 2007 17:57:27 +0100
To: public-xml-processing-model-wg@w3.org
Message-ID: <877iop20zs.fsf@nwalsh.com>
/ Innovimax SARL <innovimax@gmail.com> was heard to say:
| 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 ?

Except for the AVT, yes.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | One should always be a little
http://nwalsh.com/            | improbable.--Oscar Wilde

Received on Tuesday, 24 July 2007 16:57:37 GMT

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