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.
something like this?
<xsl:param name="debug-flag" select="0"/>
....
<xsl:if test="$debug-flag > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: xsl:noop?, David Carlisle | Thread | Re: xsl:noop?, David Carlisle |
Re: how to do hyperlink with xml + , David Rocher | Date | Element Text, Ben Bertola |
Month |