cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Beaumont <mibe...@yahoo.co.uk>
Subject namespace-alias being ignored
Date Tue, 14 Oct 2008 14:34:27 GMT

Hi,

I am trying to generate a XSLT with a XSLT transform within a pipeline.
The problem is namespace-alias in my XSLT gets ignored.

Cocoon Version: 2.1.11 

Example XSLT:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xslt="xslt" version="1.0">
   
   <xsl:namespace-alias stylesheet-prefix="xslt" result-prefix="xsl" />

   <xsl:template match="/">
      <xslt:stylesheet version="1.0">
          <xslt:template select="/">
              <xslt:value-of select="form" />
          </xslt:template>
      </xslt:stylesheet>
   </xsl:template>
</xsl:stylesheet>

Output: 
      <xslt:stylesheet version="1.0">
          <xslt:template select="/">
              <xslt:value-of select="form" />
          </xslt:template>
      </xslt:stylesheet>

Can anyone please help (Or am I missing something)  or is there alternative
way of generating an XSLT file? 

Thanks in advance 
Matt.





-----
Matt Beaumont
mibeaum@yahoo.co.uk

-- 
View this message in context: http://www.nabble.com/namespace-alias-being-ignored-tp19974786p19974786.html
Sent from the Cocoon - Users mailing list archive at Nabble.com.


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


Mime
View raw message