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

Re: p:directory step

From: Alex Milowski <alex@milowski.org>
Date: Wed, 1 Aug 2007 09:29:02 -0700
Message-ID: <28d56ece0708010929vdf7c095gc08b70fd14cdcaa9@mail.gmail.com>
To: public-xml-processing-model-wg@w3.org

On 8/1/07, Norman Walsh <ndw@nwalsh.com> wrote:
> Revised slightly:
>
> Vasil Rangelov proposes[1] an atomic step to read a directory listing
> and return it as a document. Jeni and I chatted about it a bit and it
> seems like a good idea. Here's my (slightly revised) proposal:
>
> <p:declare-step type="p:directory-list">
>   <p:output port="result"/>
>   <p:option name="path" value="."/>
>   <p:option name="recursive" value="no"/>
>   <p:option name="filter"/>
> </p:declare-step>
>
> The p:directory-list step reads all of the files in the specified
> directory and returns a c:folder element:
>
>   <c:directory path="abs-path-specified">
>     <c:directory path="abs-path-specified/dirname"/>
>     <c:file path="abs-path-specified/filename"/>
>     ...
>   </c:directory>

"c:folder" or "c:directory" ?

Can we have 'href' attributes with URI values relative to the base URI
of the document ?


-- 
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."

Bertrand Russell in a footnote of Principles of Mathematics
Received on Wednesday, 1 August 2007 16:29:13 GMT

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