Subject: Re: Generating variable DOCTYPE
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 16 Jan 2003 14:11:36 -0700 (MST)
|
Jarno.Elovirta@xxxxxxxxx wrote:
> There is no XSLT 1.0 solution
Not entirely true. Presumably, he is passing in the $DTDLocation parameter
from the application that invokes the XSLT processor. All he has to do is move
his xsl:output into a dynamically generated stylesheet that hard-codes that
string in the xsl:output tag and imports his main, xsl:output-less stylesheet.
Then just invoke the transformation using that generated stylesheet instead of
the main one.
Mike
--
Mike J. Brown | http://skew.org/~mike/resume/
Denver, CO, USA | http://skew.org/xml/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|