title: Create a list/array in XSLT
body: <p>I have the following scenario. I have a list of countries (EG, KSA, UAE, AG)</p>
  
  <p>I need to check an XML input if it is contained in this list or not:</p>
  
  <pre><code>&lt;xsl:variable name="$country" select="Request/country" &gt;
  
  &lt;!-- now I need to declare the list of countries here --&gt;
  
  &lt;xsl:choose&gt;
   &lt;!-- need to check if this list contains the country --&gt;
   &lt;xsl:when test="$country='??????'"&gt;
     &lt;xsl:text&gt;IN&lt;/xsl:text&gt;
   &lt;/xsl:when&gt;
   &lt;xsl:otherwise&gt;
     &lt;xsl:text&gt;OUT&lt;/xsl:text&gt;
   &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
  </code></pre>
  
  <p>Note: I am using XSLT 1.0.</p>