Re: p:directory step

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 UTC