Re: xsl:noop?

Subject: Re: xsl:noop?
From: "Mark D. Anderson" <mda@xxxxxxxxxxxxxx>
Date: Wed, 09 Feb 2000 08:17:59 -0800
sure, but not when i have a 1000 of them -- makes it too
messy in appearance. i might have to introduce a macro-preprocessor
(a real one, not this sgml stuff).
plus, i'd like the option of getting them skipped altogether,
for no runtime overhead.

-mda

--On Wednesday, February 09, 2000 9:41 AM +0000 David Carlisle <davidc@xxxxxxxxx> wrote:


something like this?



<xsl:param name="debug-flag" select="0"/>


....


<xsl:if test="$debug-flag &gt; 0"> <xsl:message>foo</xsl:message> <xt:document href="debug-trace.txt">....</xt:document> </xsl:if>

....

xt file.xml style.xsl out.xml debug-flag=6


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread