xsl-list
[Top] [All Lists]

Re: [xsl] transform xml using xsl into a dynamic xsl...

2007-05-29 05:56:19
On Tue, 29 May 2007 06:35:47 -0600, Kai Hackemesser <kaha(_at_)gmx(_dot_)de> 
wrote:

Has anybody seen an example how to create xsl output with xsl?

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
  <xsl:template match="/">
    <xsl:element name="xsl:stylesheet">
<xsl:attribute name="xmlns:xsl">http://www.w3.org/1999/XSL/Transform</xsl:attribute>
      <xsl:attribute name="version">1.0</xsl:attribute>
      <xsl:element name="xsl:template">
        <xsl:attribute name="match">/</xsl:attribute>
        <xsl:element name="xsl:apply-templates"/>
      </xsl:element>
    </xsl:element>
  </xsl:template>
</xsl:stylesheet>

--
/M:D

M. David Peterson
http://mdavid.name | http://www.oreillynet.com/pub/au/2354 | http://dev.aol.com/blog/3155

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--