Quantcast
Channel: XML, System.Xml, MSXML and XmlLite forum
Viewing all articles
Browse latest Browse all 935

XSLT 2.0 Choose Condition issue

$
0
0

Hi Team,

Currently i have issue when i using choose condition, error getting as a 'Unable to generate the XML document using the provided XML/XSL input. Errors were reported during stylesheet compilation' , According to i checked that sysntax, there not have an any problem on that, Could you please correct me if there have any issue on my current choose condition on XSLT 2.0.

<xsl:choose><xsl:when test="(/OceanRateQuotes/CarrierDetails/Carrier/Rates/Amounts[ContainerType = $ContainerType]/ContainerType)[1]/='20 STD'">20GP</xsl:when><xsl:when test="(/OceanRateQuotes/CarrierDetails/Carrier/Rates/Amounts[ContainerType = $ContainerType]/ContainerType)[1]/='40 STD'">40GP</xsl:when><xsl:when test="(/OceanRateQuotes/CarrierDetails/Carrier/Rates/Amounts[ContainerType = $ContainerType]/ContainerType)[1]/='45 STD'">45HC</xsl:when><xsl:otherwise>
    20GP	</xsl:otherwise></xsl:choose>


Viewing all articles
Browse latest Browse all 935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>