Monday, 7 April 2014

For each for ary in xsl and xslt

 <xsl:variable name="k" select="@id" />
      <xsl:variable name="list" select="'4 5 6'" />
   
     <xsl:if test="
  contains(
    concat(' ', $list, ' '),
    concat(' ', $k, ' ')
  )
">
      hanmant <xsl:value-of select="concat('ID- ', $k, ' is in the list.')" />
      </xsl:if>

No comments:

Post a Comment