Re: Dealing with unbound options

I think that we discuss that here :
http://www.w3.org/XML/XProc/2009/05/28-minutes

I remember Henry proposing a new function for that (to test binding)...

My two cents

Mohamed

On Fri, Oct 16, 2009 at 4:52 AM, Norman Walsh <ndw@nwalsh.com> wrote:
> Someone please tell me I'm having a brain cramp. I want to write a
> recursive-directory-list step. It starts out like this:
>
> <p:declare-step type="cx:recursive-directory-list">
>  <p:output port="result"/>
>  <p:option name="path" required="true"/>
>  <p:option name="include-filter"/>
>  <p:option name="exclude-filter"/>
>  <p:option name="depth" select="-1"/>
>
>  <p:directory-list>
>    <p:with-option name="path" select="$path">
>      <p:empty/>
>    </p:with-option>
>    <p:with-option name="include-filter" select="$include-filter">
>      <p:empty/>
>    </p:with-option>
>    <p:with-option name="exclude-filter" select="$exclude-filter">
>      <p:empty/>
>    </p:with-option>
>  </p:directory-list>
> </p:declare-step>
>
> Except that the reference to $include-filter is an error if the
> include-filter option wasn't specified on the call to
> cx:recursive-directory-list.
>
> I think I remember talking about this. Someone please tell me we
> thought of a solution.
>
>                                        Be seeing you,
>                                          norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | When someone tells you something defies
> http://nwalsh.com/            | description, you can be pretty sure
>                              | he's going to have a go at it
>                              | anyway.--Clyde B. Aster
>



-- 
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 Friday, 16 October 2009 07:45:22 UTC