Subject: Re: [xsl] Practicality of Separating Data from Presentation From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 01 Jul 2002 18:02:26 -0400 |
I have seen some code like the following:
<xsl:text disable-output-escaping="yes"><</xsl:text>%= Now %<xsl:text disable-output-escaping="yes">></xsl:text>
as a way to create ASP code. What would be some pro's and con's to this approach - assuming there are both?
<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>
... <xsl:call-template name="asptag"> <xsl:with-param name="asp">= Now </xsl:with-param> </xsl:call-template>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Practicality of Separatin, Robert S. Koberg | Thread | RE: [xsl] Practicality of Separatin, Conal Tuohy |
Re: [xsl] Practicality of Separatin, Robert S. Koberg | Date | Re: [xsl] Practicality of Separatin, intelikon |
Month |