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

result :

  <RESULT template="util-super-global" global="_COOKIE" index="" count="6">
    <handl_url>https://motorygroup.com/wp-json/oembed/1.0/embed?format=xml&url=https%3A%2F%2Fmotorygroup.com%2F</handl_url>
    <handl_ip>3.17.181.122</handl_ip>
    <user_agent>Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)</user_agent>
    <handl_url_base>https://motorygroup.com/wp-json/oembed/1.0/embed</handl_url_base>
    <HandLtestDomainNameServer>HandLtestDomainValueServer</HandLtestDomainNameServer>
    <handl_landing_page>https://motorygroup.com/wp-json/oembed/1.0/embed?format=xml&url=https%3A%2F%2Fmotorygroup.com%2F</handl_landing_page>
  </RESULT>