[Home] [By Thread] [By Date] [Recent Entries]
Tim--
At 05:31 PM 7/1/2002, you wrote: I have seen some code like the following: One would hope if you're doing this very much that you'd code up something like: <xsl:template name="asptag"> <xsl:param name="asp" select="' '"/> <xsl:text disable-output-escaping="yes"><%</xsl:text> <xsl:value-of select="asp"/> <xsl:text disable-output-escaping="yes">%></xsl:text> </xsl:template>
And note that this kind of stylesheet only works when outputting serialized text after your transformation ('cause of the d-o-e). Doesn't ASP have an XML-friendly format? FWIW, the notion that XSL is broken since it "doesn't separate data from presentation" is kind of funny in view of the fact that it was designed to be a presentation-tier thing ... run in the client, target FO etc. ...; it's only because it's so darned versatile that everyone's using it in the middle tier at all.... Cheers, Wendell
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



