This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: XSL to XSL?


>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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]