AW: [xep-support] XEP-Error

From: Kurt Leichum <kurt@leichum.at>
Date: Tue May 11 2010 - 21:42:36 PDT

Hi Ken,

Thanks a lot for your input. It helped a lot.

Best Regards

Kurt

-----Ursprüngliche Nachricht-----
Von: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com] Im
Auftrag von G. Ken Holman
Gesendet: Montag, 10. Mai 2010 14:33
An: xep-support@renderx.com
Betreff: Re: [xep-support] XEP-Error

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
-------------------
(*) 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 Tue May 11 22:19:47 2010

This archive was generated by hypermail 2.1.8 : Tue May 11 2010 - 22:19:54 PDT