util-super-global

<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 : PASS
util-super-global :
– global = _COOKIE
– index =

result :

  <RESULT template="util-super-global" global="_COOKIE" index="" count="0"/>