cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dusek <jason.du...@gmail.com>
Subject Re: cocoon & catalogs
Date Tue, 11 Oct 2005 03:53:52 GMT
>Just for _processing_ the xml namespaces aware the actual schema is not

this is not true - if you want to use

  <xsl:template select="id('some-id')">
    <!-- etc. -->
  </xsl:template>

then the schema has to specify that your id attributes are of type
xs:ID, as it says in the spec:

       NOTE:In order for such an attribute to be used with the XPath id
       function, it must actually be declared in the DTD as being an ID.

          (from http://www.w3.org/TR/xslt#section-Embedding-Stylesheets)

that's why i started writing schemas and putting in namespaces in the
first place.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message