You mean like this:? (test2.xsl)

<?xml version="1.0"?>
<xsl:stylesheet
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
  version="1.0"
  >

<xsl:output method="html" indent="yes"/>

<xsl:template xmlns:mid="http://simonwoodside.com/rng"; match="mid:rngform";>
<html>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>


<xsl:template xmlns:mid="http://simonwoodside.com/rng"; match="mid:title";>
<h1>
<xsl:apply-templates/>
</h1>
</xsl:template>
</xsl:stylesheet>



No change.


simon

On Friday, March 28, 2003, at 12:20 PM, Daniel Veillard wrote:

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/
[EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xslt mailing list, project page http://xmlsoft.org/XSLT/
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/xslt



--
     anti-spam: do not post this address publicly
www.simonwoodside.com -- 99% Devil, 1% Angel


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to