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

Re: message

Subject: Re: message
From: tcn@xxxxxxxxxxxxx (Trevor Nash)
Date: Wed, 27 Jun 2001 15:05:47 GMT
xsl message box
Karlo wrote:

>Hi, I am trying to use <xsl:message>Hello</xsl:message> Nothing is
>displayed. I tried to put this inbetween my actual html and still no luck,
>when I use <xsl:message terminate="yes">Hello</xsl:message> I get the
>output, together with a error in my ASP page.
>
>Any ideas ?
>
>thank
>
>Karlo
>

When you say 'nothing is displayed' it makes me think you are looking
in the generated web page.  It is certainly not going to appear there.

What happens to an xsl:message is up to the XSLT processor and the
environment in which it runs.  On a web server the message will either
end up in an error log somewhere or maybe even get thrown away.  Do
not be misled by the XSLT spec when it says it might pop up a message
box - this is highly unlikely!
You get something when you say terminate="yes" because this causes the
transformation to fail, which the web server cannot fail to notice.

What are you trying to achieve?  xsl:message is intended for things
like reporting logic errors in the stylesheet.  This isn't really
appropriate in a web server environment, where you should be more
careful about what the user sees and how you sollect the necesary
diagnostics.

Regards,
Trevor Nash

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


Current Thread
  • message
    • pcaspian - Wed, 27 Jun 2001 10:48:08 -0400 (EDT)
      • cutlass - Wed, 27 Jun 2001 10:53:22 -0400 (EDT)
      • Trevor Nash - Wed, 27 Jun 2001 11:34:02 -0400 (EDT) <=
      • Michael Kay - Wed, 27 Jun 2001 12:00:00 -0400 (EDT)
      • Bob DuCharme - Wed, 27 Jun 2001 17:00:13 -0400 (EDT)
      • <Possible follow-ups>
      • Jason Macki - Wed, 27 Jun 2001 10:59:12 -0400 (EDT)

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.