Re: Quirks in code fragment of 5.7.5 Namespaces on variables, options, and parameters

/ "Innovimax SARL" <innovimax@gmail.com> was heard to say:
| Well
|
| In fact, I have more than one trouble with this code fragment
|
| <ex:delete-in-div xmlns:p="http://www.w3.org/ns/xproc"
| xmlns:ex="http://www.example.org/xproc-extensions">
|   <p:with-option name="divchild" select="html:p[@class='delete']"
|                  xmlns:html="http://www.w3.org/1999/xhtml"/>
| </ex:delete-in-div>
|
| Apart from the binding of the "ex" prefix
|
| Doesn't be the content of the select attribute be double quotted ?
|
| Am I right in proposing to write it, the following way ?
|
| <!-- prefix p should be already bound at this point -->
| <ex:delete-in-div xmlns:ex="http://example.org/ns/ex"
| divchild="html:p[@class='delete']"
|                  xmlns:html="http://www.w3.org/1999/xhtml"/>

Yes. Good catch! Fixed.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Greatness of soul is never apparent,
http://nwalsh.com/            | for it conceals itself; a little
                              | originality is usually all that shows.
                              | Greatness of soul is more frequent than
                              | one would suppose.-- Stendhal

Received on Thursday, 21 August 2008 11:05:53 UTC