<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib
   PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
   "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
   <tlib-version>1.0</tlib-version>
   <jsp-version>1.2</jsp-version>
   <short-name>dbxml-jsp</short-name>
   <uri>http://www.dbxml.com/db/jsp</uri>
   <display-name></display-name>
   <description>
      This tag library contains several tag extensions
      useful for working with dbXML databases.
   </description>

   <tag>
      <name>connection</name>
      <tag-class>com.dbxml.db.enterprise.jsp.ConnectionTag</tag-class>
      <tei-class>com.dbxml.db.enterprise.jsp.ConnectionTagInfo</tei-class>
      <body-content>JSP</body-content>
      <attribute>
         <name>name</name>
         <required>true</required>
      </attribute>
      <attribute>
         <name>driver</name>
         <required>false</required>
      </attribute>
   </tag>

   <tag>
      <name>property</name>
      <tag-class>com.dbxml.db.enterprise.jsp.PropertyTag</tag-class>
      <body-content>empty</body-content>
      <attribute>
         <name>name</name>
         <required>true</required>
      </attribute>
      <attribute>
         <name>value</name>
         <required>true</required>
      </attribute>
   </tag>

   <tag>
      <name>collection</name>
      <tag-class>com.dbxml.db.enterprise.jsp.CollectionTag</tag-class>
      <tei-class>com.dbxml.db.enterprise.jsp.CollectionTagInfo</tei-class>
      <body-content>empty</body-content>
      <attribute>
         <name>name</name>
         <required>true</required>
      </attribute>
      <attribute>
         <name>connection</name>
         <required>true</required>
      </attribute>
      <attribute>
         <name>path</name>
         <required>true</required>
         <rtexprvalue>true</rtexprvalue>
      </attribute>
   </tag>

   <tag>
      <name>get</name>
      <tag-class>com.dbxml.db.enterprise.jsp.GetDocumentTag</tag-class>
      <tei-class>com.dbxml.db.enterprise.jsp.GetDocumentTagInfo</tei-class>
      <body-content>empty</body-content>
      <attribute>
         <name>collection</name>
         <required>true</required>
      </attribute>
      <attribute>
         <name>key</name>
         <required>true</required>
         <rtexprvalue>true</rtexprvalue>
      </attribute>
      <!-- name+text and prefix are mutually exclusive attributes -->
      <attribute>
         <name>name</name>
         <required>false</required>
      </attribute>
      <attribute>
         <name>text</name>
         <required>false</required>
      </attribute>
      <attribute>
         <name>prefix</name>
         <required>false</required>
      </attribute>
   </tag>

   <tag>
      <name>set</name>
      <tag-class>com.dbxml.db.enterprise.jsp.SetDocumentTag</tag-class>
      <body-content>JSP</body-content>
      <attribute>
         <name>collection</name>
         <required>true</required>
      </attribute>
      <attribute>
         <name>key</name>
         <required>true</required>
         <rtexprvalue>true</rtexprvalue>
      </attribute>
   </tag>

   <tag>
      <name>insert</name>
      <tag-class>com.dbxml.db.enterprise.jsp.InsertDocumentTag</tag-class>
      <tei-class>com.dbxml.db.enterprise.jsp.InsertDocumentTagInfo</tei-class>
      <body-content>JSP</body-content>
      <attribute>
         <name>name</name>
         <required>false</required>
      </attribute>
      <attribute>
         <name>collection</name>
         <required>true</required>
      </attribute>
   </tag>

   <tag>
      <name>remove</name>
      <tag-class>com.dbxml.db.enterprise.jsp.RemoveDocumentTag</tag-class>
      <body-content>empty</body-content>
      <attribute>
         <name>collection</name>
         <required>true</required>
      </attribute>
      <attribute>
         <name>key</name>
         <required>true</required>
         <rtexprvalue>true</rtexprvalue>
      </attribute>
   </tag>

   <tag>
      <name>query</name>
      <tag-class>com.dbxml.db.enterprise.jsp.QueryTag</tag-class>
      <tei-class>com.dbxml.db.enterprise.jsp.QueryTagInfo</tei-class>
      <body-content>JSP</body-content>
      <!-- name and html are mutually exclusive attributes -->
      <attribute>
         <name>name</name>
         <required>false</required>
      </attribute>
      <attribute>
         <name>html</name>
         <required>false</required>
      </attribute>
      <attribute>
         <name>style</name>
         <required>true</required>
         <rtexprvalue>true</rtexprvalue>
      </attribute>
      <attribute>
         <name>collection</name>
         <required>true</required>
      </attribute>
      <attribute>
         <name>key</name>
         <required>false</required>
         <rtexprvalue>true</rtexprvalue>
      </attribute>
   </tag>

   <tag>
      <name>iterator</name>
      <tag-class>com.dbxml.db.enterprise.jsp.IteratorTag</tag-class>
      <tei-class>com.dbxml.db.enterprise.jsp.IteratorTagInfo</tei-class>
      <body-content>JSP</body-content>
      <attribute>
         <name>query</name>
         <required>true</required>
      </attribute>
      <attribute>
         <name>text</name>
         <required>false</required>
      </attribute>
   </tag>
</taglib>
