Re: [xep-support] XEP-Error

From: G. Ken Holman <gkholman@CraneSoftwrights.com>
Date: Mon May 10 2010 - 05:33:02 PDT

At 2010-05-10 07:52 +0200, Kurt Leichum wrote:
>Hi,
>
>I run into problems when processing my XSL with XEP or FOP.
>
>These two statements work fine when I preview my report within StylusStudio
>10 (XEP Formatter):
>
><xsl:value-of select="if(/Invoice/Header/ContactPersonParty = '') then ''
>else concat('Att. ',/Invoice/Header/ContactPersonParty)"/>
>
><xsl:value-of select="format-number(PricePerUnit,'#.###.##0,00')"/>
>
>If I process my XSL with XEP it throws exceptions.
>
>Can anyone enlighten me? What do I do wrong?

My guess is that you are running an XSLT 2.0 processor in
StylusStudio and an XSLT 1.0 processor in XEP. The XPath 2.0
if-then-else expression is not part of the XSLT 1.0 specification.

I hope this helps.

. . . . . . . . . . . Ken

--
XSLT/XQuery training:   after http://XMLPrague.cz 2011-03-28/04-01
Vote for your XML training:   http://www.CraneSoftwrights.com/f/i/
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/f/
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Male Cancer Awareness Nov'07  http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Mon May 10 05:49:45 2010

This archive was generated by hypermail 2.1.8 : Mon May 10 2010 - 05:49:52 PDT