x-1_0.tld 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE taglib
  3. PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
  4. "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
  5. <taglib>
  6. <tlib-version>1.0</tlib-version>
  7. <jsp-version>1.2</jsp-version>
  8. <short-name>x</short-name>
  9. <uri>http://java.sun.com/jstl/xml</uri>
  10. <display-name>JSTL XML</display-name>
  11. <description>JSTL 1.0 XML library</description>
  12. <validator>
  13. <validator-class>
  14. org.apache.taglibs.standard.tlv.JstlXmlTLV
  15. </validator-class>
  16. <init-param>
  17. <param-name>expressionAttributes</param-name>
  18. <param-value>
  19. out:escapeXml
  20. parse:xml
  21. parse:systemId
  22. parse:filter
  23. transform:xml
  24. transform:xmlSystemId
  25. transform:xslt
  26. transform:xsltSystemId
  27. transform:result
  28. </param-value>
  29. <description>
  30. Whitespace-separated list of colon-separated token pairs
  31. describing tag:attribute combinations that accept expressions.
  32. The validator uses this information to determine which
  33. attributes need their syntax validated.
  34. </description>
  35. </init-param>
  36. </validator>
  37. <tag>
  38. <name>choose</name>
  39. <tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
  40. <body-content>JSP</body-content>
  41. <description>
  42. Simple conditional tag that establishes a context for
  43. mutually exclusive conditional operations, marked by
  44. &lt;when&gt; and &lt;otherwise&gt;
  45. </description>
  46. </tag>
  47. <tag>
  48. <name>out</name>
  49. <tag-class>org.apache.taglibs.standard.tag.el.xml.ExprTag</tag-class>
  50. <body-content>empty</body-content>
  51. <description>
  52. Like &lt;%= ... &gt;, but for XPath expressions.
  53. </description>
  54. <attribute>
  55. <name>select</name>
  56. <required>true</required>
  57. <rtexprvalue>false</rtexprvalue>
  58. </attribute>
  59. <attribute>
  60. <name>escapeXml</name>
  61. <required>false</required>
  62. <rtexprvalue>false</rtexprvalue>
  63. </attribute>
  64. </tag>
  65. <tag>
  66. <name>if</name>
  67. <tag-class>org.apache.taglibs.standard.tag.common.xml.IfTag</tag-class>
  68. <body-content>JSP</body-content>
  69. <description>
  70. XML conditional tag, which evalutes its body if the
  71. supplied XPath expression evalutes to 'true' as a boolean
  72. </description>
  73. <attribute>
  74. <name>select</name>
  75. <required>true</required>
  76. <rtexprvalue>false</rtexprvalue>
  77. </attribute>
  78. <attribute>
  79. <name>var</name>
  80. <required>false</required>
  81. <rtexprvalue>false</rtexprvalue>
  82. </attribute>
  83. <attribute>
  84. <name>scope</name>
  85. <required>false</required>
  86. <rtexprvalue>false</rtexprvalue>
  87. </attribute>
  88. </tag>
  89. <tag>
  90. <name>forEach</name>
  91. <tag-class>org.apache.taglibs.standard.tag.common.xml.ForEachTag</tag-class>
  92. <body-content>JSP</body-content>
  93. <description>
  94. XML iteration tag.
  95. </description>
  96. <attribute>
  97. <name>var</name>
  98. <required>false</required>
  99. <rtexprvalue>false</rtexprvalue>
  100. </attribute>
  101. <attribute>
  102. <name>select</name>
  103. <required>true</required>
  104. <rtexprvalue>false</rtexprvalue>
  105. </attribute>
  106. </tag>
  107. <tag>
  108. <name>otherwise</name>
  109. <tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
  110. <body-content>JSP</body-content>
  111. <description>
  112. Subtag of &lt;choose&gt; that follows &lt;when&gt; tags
  113. and runs only if all of the prior conditions evaluated to
  114. 'false'
  115. </description>
  116. </tag>
  117. <tag>
  118. <name>param</name>
  119. <tag-class>org.apache.taglibs.standard.tag.el.xml.ParamTag</tag-class>
  120. <body-content>JSP</body-content>
  121. <description>
  122. Adds a parameter to a containing 'transform' tag's Transformer
  123. </description>
  124. <attribute>
  125. <name>name</name>
  126. <required>true</required>
  127. <rtexprvalue>false</rtexprvalue>
  128. </attribute>
  129. <attribute>
  130. <name>value</name>
  131. <required>false</required>
  132. <rtexprvalue>false</rtexprvalue>
  133. </attribute>
  134. </tag>
  135. <tag>
  136. <name>parse</name>
  137. <tag-class>org.apache.taglibs.standard.tag.el.xml.ParseTag</tag-class>
  138. <tei-class>org.apache.taglibs.standard.tei.XmlParseTEI</tei-class>
  139. <body-content>JSP</body-content>
  140. <description>
  141. Parses XML content from 'source' attribute or 'body'
  142. </description>
  143. <attribute>
  144. <name>var</name>
  145. <required>false</required>
  146. <rtexprvalue>false</rtexprvalue>
  147. </attribute>
  148. <attribute>
  149. <name>varDom</name>
  150. <required>false</required>
  151. <rtexprvalue>false</rtexprvalue>
  152. </attribute>
  153. <attribute>
  154. <name>scope</name>
  155. <required>false</required>
  156. <rtexprvalue>false</rtexprvalue>
  157. </attribute>
  158. <attribute>
  159. <name>scopeDom</name>
  160. <required>false</required>
  161. <rtexprvalue>false</rtexprvalue>
  162. </attribute>
  163. <attribute>
  164. <name>xml</name>
  165. <required>false</required>
  166. <rtexprvalue>false</rtexprvalue>
  167. </attribute>
  168. <attribute>
  169. <name>systemId</name>
  170. <required>false</required>
  171. <rtexprvalue>false</rtexprvalue>
  172. </attribute>
  173. <attribute>
  174. <name>filter</name>
  175. <required>false</required>
  176. <rtexprvalue>false</rtexprvalue>
  177. </attribute>
  178. </tag>
  179. <tag>
  180. <name>set</name>
  181. <tag-class>org.apache.taglibs.standard.tag.common.xml.SetTag</tag-class>
  182. <body-content>empty</body-content>
  183. <description>
  184. Saves the result of an XPath expression evaluation in a 'scope'
  185. </description>
  186. <attribute>
  187. <name>var</name>
  188. <required>true</required>
  189. <rtexprvalue>false</rtexprvalue>
  190. </attribute>
  191. <attribute>
  192. <name>select</name>
  193. <required>false</required>
  194. <rtexprvalue>false</rtexprvalue>
  195. </attribute>
  196. <attribute>
  197. <name>scope</name>
  198. <required>false</required>
  199. <rtexprvalue>false</rtexprvalue>
  200. </attribute>
  201. </tag>
  202. <tag>
  203. <name>transform</name>
  204. <tag-class>org.apache.taglibs.standard.tag.el.xml.TransformTag</tag-class>
  205. <tei-class>org.apache.taglibs.standard.tei.XmlTransformTEI</tei-class>
  206. <body-content>JSP</body-content>
  207. <description>
  208. Conducts a transformation given a source XML document
  209. and an XSLT stylesheet
  210. </description>
  211. <attribute>
  212. <name>var</name>
  213. <required>false</required>
  214. <rtexprvalue>false</rtexprvalue>
  215. </attribute>
  216. <attribute>
  217. <name>scope</name>
  218. <required>false</required>
  219. <rtexprvalue>false</rtexprvalue>
  220. </attribute>
  221. <attribute>
  222. <name>result</name>
  223. <required>false</required>
  224. <rtexprvalue>false</rtexprvalue>
  225. </attribute>
  226. <attribute>
  227. <name>xml</name>
  228. <required>false</required>
  229. <rtexprvalue>false</rtexprvalue>
  230. </attribute>
  231. <attribute>
  232. <name>xmlSystemId</name>
  233. <required>false</required>
  234. <rtexprvalue>false</rtexprvalue>
  235. </attribute>
  236. <attribute>
  237. <name>xslt</name>
  238. <required>false</required>
  239. <rtexprvalue>false</rtexprvalue>
  240. </attribute>
  241. <attribute>
  242. <name>xsltSystemId</name>
  243. <required>false</required>
  244. <rtexprvalue>false</rtexprvalue>
  245. </attribute>
  246. </tag>
  247. <tag>
  248. <name>when</name>
  249. <tag-class>org.apache.taglibs.standard.tag.common.xml.WhenTag</tag-class>
  250. <body-content>JSP</body-content>
  251. <description>
  252. Subtag of &lt;choose&gt; that includes its body if its
  253. expression evalutes to 'true'
  254. </description>
  255. <attribute>
  256. <name>select</name>
  257. <required>true</required>
  258. <rtexprvalue>false</rtexprvalue>
  259. </attribute>
  260. </tag>
  261. </taglib>