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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Meta XSL, Toivo Lainevool | Thread | Re: Meta XSL, James Clark |
Meta XSL, Toivo Lainevool | Date | RE: XT and HTML conversion, Jonathan Borden |
Month |