Hi Matt,

On Tue, Oct 14, 2008 at 4:34 PM, Matt Beaumont <[EMAIL PROTECTED]> wrote:

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

Your XSLT looks ok to me, you might want to compare with

http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X/src/blocks/xsltal/java/org/apache/cocoon/blocks/xsltal/resources/tal2xslt.xsl

which did work, last time I checked.
-Bertrand

> 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>

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

Reply via email to