- From: mozer <xmlizer@gmail.com>
- Date: Mon, 18 May 2009 19:29:29 +0200
- To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
- Cc: xproc-dev@w3.org
Henry, Do you have a strong use case for that feature ? Xmlizer On Thu, May 14, 2009 at 2:01 PM, Henry S. Thompson <ht@inf.ed.ac.uk> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > So, if I want to detect and handle specially the case where an > optional option has not been specificed, how can I do so? > > Using p:try seems awfully heavyweight. > > In XSLT, I can distinguish between the empty string and the empty node > set, so we see the common idiom > > <xsl:param name="foo" select="xyzzy"/> > > But since XProc options are always string-valued, there's no obvious > default which can be reliably distinguished from a supplied value. > > ht > - -- > Henry S. Thompson, School of Informatics, University of Edinburgh > Half-time member of W3C Team > 10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440 > Fax: (44) 131 651-1426, e-mail: ht@inf.ed.ac.uk > URL: http://www.ltg.ed.ac.uk/~ht/ > [mail really from me _always_ has this .sig -- mail without it is forged spam] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (GNU/Linux) > > iD8DBQFKDAg2kjnJixAXWBoRArVaAJ9XxVaaaLEKXzgKJwF7SYTRlmcpWwCcDW/y > tgUTH64C5n8LE8Wzwz0zC1k= > =JxDw > -----END PGP SIGNATURE----- > >
Received on Monday, 18 May 2009 17:35:41 UTC