This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xsl:noop?


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@nag.co.uk> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]