xsl-list
[Top] [All Lists]

Re: Generating variable DOCTYPE

2003-01-16 14:11:36
Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com 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



<Prev in Thread] Current Thread [Next in Thread>