[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

xsl:noop?

Subject: xsl:noop?
From: "Mark D. Anderson" <mda@xxxxxxxxxxxxxx>
Date: Tue, 8 Feb 2000 19:09:51 -0800
noop xslt
i currently have a whole lot of xsl:message statements in my stylesheets.
not near as powerful as printf(), but it is all we have for debugging.

in production i'd like to turn those off.

so then i'd have
<&DEBUG_MESSAGE_OPEN;> ... <&DEBUG_MESSAGE_CLOSE;>
instead of
<xsl:message> ... </xsl:message>

everywhere.
i'm not an sgml guru, so i can't seem to find a way to do this.
but even if i could do:
<!ENTITY DEBUG_MESSAGE_OPEN "xsl:noop">
then there is no xsl:noop to turn it into.

i guess the next step is to write a pre-processor in xslt which strips
xsl:message statements from xslt stylesheets....

it'd be nice if xslt processors had decent trace facilities (like perl -D),
and if xsl:message were actually reliable in execution semantics, and
if there were an easy way to turn it on and off. but no.
programming in xslt is about as much fun as programming in sh, in terms
of sophistication of the dev tools.

btw -- still looking for an answer to my query of saturday 2/5,
subject "no way to avoid errors if getting both strings and elements?"

thanks.

-mda



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.