- From: Florent Georges <fgeorges@fgeorges.org>
- Date: Sun, 5 Oct 2008 11:47:02 +0200
- To: "Josh Matthews" <joshmatthews@gmail.com>
- Cc: mozer <xmlizer@gmail.com>, "Norman Walsh" <ndw@nwalsh.com>, "XProc Dev" <xproc-dev@w3.org>
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