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

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"/>

 Mohamed

On Wed, Aug 20, 2008 at 9:31 PM, Innovimax SARL <innovimax@gmail.com> wrote:
> in the second code fragment, the prefix "ex" is binded to
> "http://example.org/ns/ex"
> in the third code fragment, the prefix "ex" is binded to
> "http://www.example.org/xproc-extensions"
> in the 4th and 5th, it is back again to "http://example.org/ns/ex"
>
> Mohamed
> --
> Innovimax SARL
> Consulting, Training & XML Development
> 9, impasse des Orteaux
> 75020 Paris
> Tel : +33 9 52 475787
> Fax : +33 1 4356 1746
> http://www.innovimax.fr
> RCS Paris 488.018.631
> SARL au capital de 10.000 €
>



-- 
Innovimax SARL
Consulting, Training & XML Development
9, impasse des Orteaux
75020 Paris
Tel : +33 9 52 475787
Fax : +33 1 4356 1746
http://www.innovimax.fr
RCS Paris 488.018.631
SARL au capital de 10.000 €

Received on Wednesday, 20 August 2008 21:43:39 UTC