[closed] Re: p:label-elements

Innovimax SARL <innovimax@gmail.com> writes:

> Label is defined as p:option name="label"
> select="'concat("_",$p:index)'"/>      <!-- string -->
> but the prose said it is an XPathExpression

Right. It should be an XPathExpression. Fixed.

> This part of the declaration surprises me too
> <p:option name="attribute" select="'xml:id'"/>                <!-- QName -->
>      <p:option name="attribute-prefix"/>
> <!-- string -->
>      <p:option name="attribute-namespace"/>
> <!-- anyURI -->
>
> probably attribute-prefix should be defaulted to "xml" and
> attribute-namespace to "XML Namespace"
> http://www.w3.org/XML/1998/namespace

Nope, you can't specify prefix and namespace if the attribute name
contains a colon.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Wherever they burn books they will
http://nwalsh.com/            | also, in the end, burn human beings.--
                              | Heine

Received on Thursday, 11 February 2010 16:54:56 UTC