Re: [xslt] simpler testcase



On Fri, Mar 28, 2003 at 11:59:39AM -0500, S Woodside wrote:
[...]
> <xsl:stylesheet
>    xmlns:mid="http://simonwoodside.com/rng";
[...]
>    <xsl:template match="mid:title";>
>      <h1>
>       <xsl:apply-templates/>
>      </h1>
>    </xsl:template>

  Basically it seems that this template didn't got triggered when run within
AXKit while it works in xsltproc. This is really strange because all the
associated processing is really internal to libxslt.
  Could just try one thing, move the mid namespace declaration one level
up, i.e.
    ...
    <xsl:template xmlns:mid="http://simonwoodside.com/rng"; match="mid:title";>
      <h1>
    ...
and retry. The compilation of XSLT stylesheets do funky things to namespace
declarations maybe there is a strange interraction between this processing
and the AXKit environment.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]