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

RE: noop?

Subject: RE: noop?
From: "Mike Ball" <Mike.Ball@xxxxxxxxxxxxxxxx>
Date: Wed, 9 Feb 2000 09:17:30 -0000
noop
Which XSL processor are you using?

I'm currently experimenting with LotusXSL which supports the passing of
parameters into stylesheets. Using this mechanism you could pass in some
sort of debug flag and surround your diagnostic statements with xsl:if
statements.

I should add that I haven't actually tried passing parameters yet but the
documentation says they are supported and it seems pretty reliable.

Good luck


Mike Ball

Consultant
Software AG UK

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]On Behalf Of Mark D. Anderson
> Sent: 09 February 2000 03:10
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: xsl:noop?
>
>
> 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
>


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


Current Thread
  • RE: noop?
    • Mike Ball - Wed, 9 Feb 2000 09:17:30 -0000 <=

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.