This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: XSL to XSL?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: XSL to XSL?
- From: Richard Bell <RichardBell at rogge dot co dot uk>
- Date: Fri, 14 Apr 2000 12:38:24 +0100
- Reply-To: xsl-list at mulberrytech dot com
>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