Re: [xslt] simpler testcase

On Fri, Mar 28, 2003 at 11:59:39AM -0500, S Woodside wrote:
> <xsl:stylesheet
>    xmlns:mid="";
>    <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=""; match="mid:title";>
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 Veillard      | Red Hat Network  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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