Re: calabash p:delete not working

2008/10/5 Josh Matthews wrote:

> Hence, there's no defined error to raise!

  Well, as you've said, there is a dynamic error for case where the
value of an option does not match its type, and an empty match pattern
is not correct.  What about the following:

    <p:delete>
       <p:with-option name="match" select="
           if ( exists(//a) ) then //a else '/..'"/>
    </p:delete>

?

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

Received on Sunday, 5 October 2008 09:47:37 UTC