<?xml version = '1.0' encoding = 'ISO-8859-1'?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib xmlns="http://java.sun.com/JSP/TagLibraryDescriptor">

  <tlib-version>1.0</tlib-version>
  <jsp-version>1.2</jsp-version>
  <short-name>example</short-name>
  <uri>http://xmlns.oracle.com/j2ee/jsp/tld/demos/exampletag.tld</uri>
  <description>
    An example tag library for looping. Demonstrates 1.2 variable functionality
  </description>
       
  <!-- example tag -->
  <!-- for loop -->
  <tag>
    <name>loop</name>
    <tag-class>examples.ExampleLoopTag</tag-class>
    <body-content>JSP</body-content>
    <description>for loop</description>
    <variable>
       <name-from-attribute>index</name-from-attribute>
       <variable-class>oracle.jsp.jml.JmlNumber</variable-class>
       <declare>true</declare>
       <scope>NESTED</scope>
       <description>scripting variable for loop index </description>
    </variable>
    <attribute>
	<name>index</name>
	<required>true</required>
        <description>loop index</description> 
    </attribute>
    <attribute>
	<name>count</name>
	<required>true</required>
        <rtexprvalue>true</rtexprvalue>
        <description>loop limit</description>
    </attribute>
  </tag>

</taglib>
