[xslt] [Fwd: Problems with Some XSLT syntax in libxslt1.1 [resending with tar.bz2 attachment]]




--- Begin Message ---
Hi,

I'm a very newbie for libxslt. I m writing a code generation tool using xslt.

I use libxslt1.1 to parse an xslt and found problems in following cases.


          <xsl:choose>
            <xsl:when test="@mep='10'">
AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_IN_ONLY);
            </xsl:when>
            <xsl:otherwise>
AXIS2_OP_SET_MSG_EXCHANGE_PATTERN(op, env, AXIS2_MEP_URI_OUT_IN);
            </xsl:otherwise>
          </xsl:choose>

here the @mep is 10, the parser working fine but when @mep = 11 the <xsl:otherwise> code is *not* working. This is the case for evaluate the following as well.

<xsl:if test="not($mep='10')">

I attach the code i used to parse xslt and the associated files.

can somebody please explain me whether this is a my bug, or some standard violation.

Thank you
Dimuthu

Attachment: test.tar.bz2
Description: application/bzip


--- End Message ---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]