[xep-support] Transform error

François Torche torche at i-minds.be
Thu Apr 14 04:23:43 PDT 2005


Hi,
 
xsl-list at lists.mulberrytech.com is probably a more appropriate ML to post your question.
 
Also, the problem occurs before line 53. So actually, you should post either the entire stylesheet or at least include the lines before 53.
 
regards,
François

________________________________

From: owner-xep-support at renderx.com on behalf of Safranek István
Sent: Wed 13/04/2005 16:24
To: xep-support at renderx.com
Subject: [xep-support] Transform error



Hi!

I'm totally new to XEP, and I have a transforming error:

c:\XEP>java  -jar lib/saxon.jar -o FOLERT_minta.fo FOLERT_minta.xml FOLERT_minta.xsl
Error at xsl:choose on line 53 of file:/c:/XEP/FOLERT_minta.xsl:
  Only xsl:when and xsl:otherwise are allowed here
Error at xsl:choose on line 53 of file:/c:/XEP/FOLERT_minta.xsl:
  Only xsl:when and xsl:otherwise are allowed here
Error at xsl:choose on line 53 of file:/c:/XEP/FOLERT_minta.xsl:
  Only xsl:when and xsl:otherwise are allowed here
Transformation failed: Failed to compile stylesheet. 3 errors detected.

Here is the 53th and the following lines from the FOLERT_minta.xsl file:

      <xsl:choose>
        <xsl:when test="dd_ccy != settle_ccy">
          <para beforespace="5" fontsize="10" alignment="3">
            <xsl:value-of select="dd_amt"/>
                <xsl:value-of select="dd_ccy"/>,
            <xsl:value-of select="HUF_foly"/> 
                <xsl:value-of select="buy_rate"/>
            <xsl:value-of select="dd_ccy"/>
            <xsl:value-of select="acct_59"/> 
                <xsl:value-of select="settle_ccy"/>
                <xsl:value-of select="dd_date"/>
          </para>
          <para fontsize="10" alignment="3">
            <xsl:value-of select="billed_amt"/>
                <xsl:value-of select="billed_ccy"/>
                <xsl:value-of select="sell_rate"/>
            <xsl:value-of select="billed_ccy"/> 
                <xsl:value-of select="HUF_ktg"/> 
          </para>
          <para fontsize="10" alignment="3">           
          </para>
        </xsl:when>
        <xsl:otherwise>
          <para beforespace="5" fontsize="10" alignment="3">
            <xsl:value-of select="dd_amt"/>
                <xsl:value-of select="dd_ccy"/>
            <xsl:value-of select="acct_59"/>
                <xsl:value-of select="settle_ccy"/>
            <xsl:value-of select ="dd_date"/> 
          </para>
          <para fontsize="10" alignment="3">
            <xsl:value-of select="billed_amt"/>
                <xsl:value-of select="billed_ccy"/>
          </para>
        </xsl:otherwise>
      </xsl:choose>


-------------------
(*) 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/tos.html


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 7990 bytes
Desc: not available
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20050414/f4b56d9f/attachment.bin>


More information about the Xep-support mailing list