W3C home > Mailing lists > Public > xproc-dev@w3.org > October 2008

Re: possible bug in p:iteration select

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 01 Oct 2008 07:33:25 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m2od24mtx6.fsf@nwalsh.com>
"Florent Georges" <fgeorges@fgeorges.org> writes:
> [...] but I'd like to say that I
> find very confusing to quote an XPath expression, too.  I don't know
> what else is better, but really I don't like this idea, and I am
> afraid it will cause confusion in the user community.

I'm quite surprised. First, you only have to quote expressions that are
simple strings.

  <px:step>
    <p:with-option name="opt" select="'some string'"/>

And if the expression is only a simple string, *use the shortcut*:

  <px:step opt="some string"/>

it doesn't require quoting and is easier to read.

Second, our semantics for select are exactly the same as the XSLT
semantics.

I'm sort of expecting most of our users will have some XSLT experience.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Never interrupt your enemy when he is
http://nwalsh.com/            | making a mistake.-- Napoleon

Received on Wednesday, 1 October 2008 11:34:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 1 October 2008 11:34:06 GMT