Here's the problem. I am taking returned XML data that is returned from a web application and processing it into HTML through XSLT for the user to see. This works flawlessly on my local WAMP server (Apache 2.2.21, PHP 5.3.8, libxml 2.7.8, libxslt 1.1.23). However when I load it onto my Arvixe Hosted server (Apache 2.2.23, PHP 5.2.17, libxml 2.7.8, libxslt 1.1.27) it fails. I was able to drill down and discover that the xsl transformation is working until I incorporate any conditional statement (choose, when, if, otherwise, etc.) at which point it throws a "500 Internal Server Error". I have checked the error logs and there is nothing related to the problem. If I eliminate all conditional statements and only display the values of each XML node:
<xsl:value-of select="MORTGAGEDATA/APPLICATION/UNDERWRITINGCASE/FHAVA/CaseTypeCD"/>
Everything works fine
But if I add in a conditional statement:
<xsl:choose>
<xsl:when test="MORTGAGEDATA/APPLICATION/UNDERWRITINGCASE/FHAVA/FHAVAFieldOfficeCode = '0670'">
<xsl:text>Tulsa, OK</xsl:text>
</xsl:when>
<xsl:when test="MORTGAGEDATA/APPLICATION/UNDERWRITINGCASE/FHAVA/FHAVAFieldOfficeCode = '0339'">
<xsl:text>Washington, DC</xsl:text>
</xsl:when>
<xsl:when test="MORTGAGEDATA/APPLICATION/UNDERWRITINGCASE/FHAVA/FHAVAFieldOfficeCode = '0344'">
<xsl:text>Wilmington, DE</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>Not Applicable</xsl:text>
</xsl:otherwise>
</xsl:choose>
The browser displays a 500 Internal Server Error
Anyone have any clue what could cause this?
At my wits end! Cannot for the life of me figure out why this is happening.