<xsl:include href="../plugins/tenandtwo-xslt-processor/xsl/util.xsl" />
<xsl:call-template name="util-super-global">
<xsl:with-param name="global" select="$global" />
<xsl:with-param name="index" select="$index" />
</xsl:call-template>
TEST 1 : FAIL
util-super-global :
– global = _SERVER
– index = DOCUMENT_ROOT
result :
<RESULT template="util-super-global" global="_SERVER" index="DOCUMENT_ROOT">/srv/plugins.tenandtwo.com/htdocs</RESULT>
expected :
<RESULT template="util-super-global" global="_SERVER" index="DOCUMENT_ROOT">/srv/xsltproc.tenandtwo.com/htdocs</RESULT>
TEST 2 : PASS
util-super-global :
– global = _REQUEST
– index =
result :
<RESULT template="util-super-global" global="_REQUEST" index="" count="0"/>
TEST 3 :
util-super-global :
– global = _COOKIE
– index =
result :
<RESULT template="util-super-global" global="_COOKIE" index="" count="1"> <care_did>8f06d2bc-52eb-4d8c-a61f-9c7a2b2410fe</care_did> </RESULT>