[xep-support] XEP-Error

G. Ken Holman gkholman at CraneSoftwrights.com
Mon May 10 05:33:02 PDT 2010


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 at 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 at 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



More information about the Xep-support mailing list