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

RE: format <xsl:message> output

Subject: RE: format <xsl:message> output
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 1 Dec 2004 15:10:28 -0000
ant output
Newline control in xsl:message is exactly the same as in any other XSLT
output. If you don't want newlines copied from the stylesheet, use
<xsl:text> around all the literal text strings in the message to prevent it.

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Robert Soesemann [mailto:rsoesemann@xxxxxxxxxxx] 
> Sent: 01 December 2004 13:44
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  format <xsl:message> output 
> 
> I am using xsl:message in an ant build script to log error 
> messages. The
> problem is that I get the following message *not* as a single line but
> as display below. I am using Saxon 8. 
> 
> <xsl:message terminate="no">
>   [<xsl:value-of select="$type"/> | <xsl:value-of select="$task"/> |
> '<xsl:value-of select="$location"/>'] 
>   <xsl:value-of select="$message"/>
> </xsl:message>
> 
> Output:
> -------
> ...
> [xslt] -[ERROR | 4 | '/contacts.xml']
> [xslt] relation to external/adressen.xml
> [xslt] invalid! expected: address  |
> [xslt] found: bank
> 
> I want:
> -------
> [xslt] -[ERROR | 4 | '/contacts.xml'] relation to 
> external/adressen.xml
> invalid! expected: address | found: bank
> 
> Any ideas or is this an ant issue?
> 
> R.

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.