xsl-list
[Top] [All Lists]

format <xsl:message> output

2004-12-01 06:44:17
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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>