Subject: RE: Meta XSL
From: "Jonathan Borden" <jborden@xxxxxxxxxxxx>
Date: Sun, 28 Feb 1999 21:03:41 -0500
|
Toivo Lainevool wrote:
>
>
> I am trying to use XSL to generate an XSL stylesheet. I call
> this a meta-XSL stylesheet. I thought that since XSL is valid XML,
> this should be possible, but I am having one small
> problem. If I have a meta-XSL file that looks like this:
>
> <meta-xsl:stylesheet xmlns:xsl="foo"
> xmlns:meta-xsl="http://www.w3.org/TR/WD-xsl"
> result-ns="">
> <meta-xsl:template match='/'>
> <xsl:stylesheet>
> <html><body>test</body></html>
> </xsl:stylesheet>
> </meta-xsl:template>
> </meta-xsl:stylesheet>
>
Have you tried:
<xsl:element name="xsl:stylesheet">
<xsl:attribute name="xmlns:xsl">http://www.w3.org/TR/WD-xsl</xsl:attribute>
... stuff goes here ...
</xsl:element>
>
> As a side note, it is interesting to think about trying to be able to
> produce _any_ valid XML document via XSL, and this case being the
> proof of Godel's Incompleteness Theorem for XSL.
>
All this proves is that given is specific allotment of time, you have not
found a successful solution to a particular problem :-)
Jonathan Borden
http://jabr.ne.mediaone.net
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- Meta XSL
- Toivo Lainevool - Sun, 28 Feb 1999 16:28:11 -0800 (PST)
- Jonathan Borden - Sun, 28 Feb 1999 21:03:41 -0500 <=
- James Clark - Mon, 01 Mar 1999 09:42:00 +0700
- <Possible follow-ups>
- James Tauber - Mon, 1 Mar 1999 12:38:15 +0800
|
|