[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: XSL to XSL?


Subject: RE: XSL to XSL?
From: Richard Bell <RichardBell@xxxxxxxxxxx>
Date: Fri, 14 Apr 2000 12:38:24 +0100

>You can take advantage of the built-in XSLT 1.0
>feature called <xsl:namespace-alias> to do the 
>following:

Can't you just use xsl:element?

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
 <xsl:element name="xsl:stylesheet">
  <xsl:attribute name="xsl:version">1.0</xsl:attribute>
  <xsl:element name="xsl:template">
   <xsl:attribute name="match">/</xsl:attribute>
   <xsl:element name="xsl:value-of">
    <xsl:attribute name="select">foo</xsl:attribute>
   </xsl:element>
  </xsl:element>
 </xsl:element>
</xsl:template>
</xsl:stylesheet>


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords