x.tld 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
  5. version="2.0">
  6. <description>JSTL 1.1 XML library</description>
  7. <display-name>JSTL XML</display-name>
  8. <tlib-version>1.1</tlib-version>
  9. <short-name>x</short-name>
  10. <uri>http://java.sun.com/jsp/jstl/xml</uri>
  11. <validator>
  12. <description>
  13. Provides validation features for JSTL XML tags.
  14. </description>
  15. <validator-class>
  16. org.apache.taglibs.standard.tlv.JstlXmlTLV
  17. </validator-class>
  18. </validator>
  19. <tag>
  20. <description>
  21. Simple conditional tag that establishes a context for
  22. mutually exclusive conditional operations, marked by
  23. &lt;when&gt; and &lt;otherwise&gt;
  24. </description>
  25. <name>choose</name>
  26. <tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
  27. <body-content>JSP</body-content>
  28. </tag>
  29. <tag>
  30. <description>
  31. Like &lt;%= ... &gt;, but for XPath expressions.
  32. </description>
  33. <name>out</name>
  34. <tag-class>org.apache.taglibs.standard.tag.rt.xml.ExprTag</tag-class>
  35. <body-content>empty</body-content>
  36. <attribute>
  37. <description>
  38. XPath expression to be evaluated.
  39. </description>
  40. <name>select</name>
  41. <required>true</required>
  42. <rtexprvalue>false</rtexprvalue>
  43. </attribute>
  44. <attribute>
  45. <description>
  46. Determines whether characters &lt;,&gt;,&amp;,'," in the
  47. resulting string should be converted to their
  48. corresponding character entity codes. Default
  49. value is true.
  50. </description>
  51. <name>escapeXml</name>
  52. <required>false</required>
  53. <rtexprvalue>true</rtexprvalue>
  54. </attribute>
  55. </tag>
  56. <tag>
  57. <description>
  58. XML conditional tag, which evalutes its body if the
  59. supplied XPath expression evalutes to 'true' as a boolean
  60. </description>
  61. <name>if</name>
  62. <tag-class>org.apache.taglibs.standard.tag.common.xml.IfTag</tag-class>
  63. <body-content>JSP</body-content>
  64. <attribute>
  65. <description>
  66. The test condition that tells whether or not the
  67. body content should be processed.
  68. </description>
  69. <name>select</name>
  70. <required>true</required>
  71. <rtexprvalue>false</rtexprvalue>
  72. </attribute>
  73. <attribute>
  74. <description>
  75. Name of the exported scoped variable for the
  76. resulting value of the test condition. The type
  77. of the scoped variable is Boolean.
  78. </description>
  79. <name>var</name>
  80. <required>false</required>
  81. <rtexprvalue>false</rtexprvalue>
  82. </attribute>
  83. <attribute>
  84. <description>
  85. Scope for var.
  86. </description>
  87. <name>scope</name>
  88. <required>false</required>
  89. <rtexprvalue>false</rtexprvalue>
  90. </attribute>
  91. </tag>
  92. <tag>
  93. <description>
  94. XML iteration tag.
  95. </description>
  96. <name>forEach</name>
  97. <tag-class>org.apache.taglibs.standard.tag.common.xml.ForEachTag</tag-class>
  98. <body-content>JSP</body-content>
  99. <attribute>
  100. <description>
  101. Name of the exported scoped variable for the
  102. current item of the iteration. This scoped variable
  103. has nested visibility. Its type depends on the
  104. result of the XPath expression in the select
  105. attribute.
  106. </description>
  107. <name>var</name>
  108. <required>false</required>
  109. <rtexprvalue>false</rtexprvalue>
  110. </attribute>
  111. <attribute>
  112. <description>
  113. XPath expression to be evaluated.
  114. </description>
  115. <name>select</name>
  116. <required>true</required>
  117. <rtexprvalue>false</rtexprvalue>
  118. </attribute>
  119. <attribute>
  120. <description>
  121. Iteration begins at the item located at the
  122. specified index. First item of the collection has
  123. index 0.
  124. </description>
  125. <name>begin</name>
  126. <required>false</required>
  127. <rtexprvalue>true</rtexprvalue>
  128. <type>int</type>
  129. </attribute>
  130. <attribute>
  131. <description>
  132. Iteration ends at the item located at the specified
  133. index (inclusive).
  134. </description>
  135. <name>end</name>
  136. <required>false</required>
  137. <rtexprvalue>true</rtexprvalue>
  138. <type>int</type>
  139. </attribute>
  140. <attribute>
  141. <description>
  142. Iteration will only process every step items of
  143. the collection, starting with the first one.
  144. </description>
  145. <name>step</name>
  146. <required>false</required>
  147. <rtexprvalue>true</rtexprvalue>
  148. <type>int</type>
  149. </attribute>
  150. <attribute>
  151. <description>
  152. Name of the exported scoped variable for the
  153. status of the iteration. Object exported is of type
  154. javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested visibility.
  155. </description>
  156. <name>varStatus</name>
  157. <required>false</required>
  158. <rtexprvalue>false</rtexprvalue>
  159. </attribute>
  160. </tag>
  161. <tag>
  162. <description>
  163. Subtag of &lt;choose&gt; that follows &lt;when&gt; tags
  164. and runs only if all of the prior conditions evaluated to
  165. 'false'
  166. </description>
  167. <name>otherwise</name>
  168. <tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
  169. <body-content>JSP</body-content>
  170. </tag>
  171. <tag>
  172. <description>
  173. Adds a parameter to a containing 'transform' tag's Transformer
  174. </description>
  175. <name>param</name>
  176. <tag-class>org.apache.taglibs.standard.tag.rt.xml.ParamTag</tag-class>
  177. <body-content>JSP</body-content>
  178. <attribute>
  179. <description>
  180. Name of the transformation parameter.
  181. </description>
  182. <name>name</name>
  183. <required>true</required>
  184. <rtexprvalue>true</rtexprvalue>
  185. </attribute>
  186. <attribute>
  187. <description>
  188. Value of the parameter.
  189. </description>
  190. <name>value</name>
  191. <required>false</required>
  192. <rtexprvalue>true</rtexprvalue>
  193. </attribute>
  194. </tag>
  195. <tag>
  196. <description>
  197. Parses XML content from 'source' attribute or 'body'
  198. </description>
  199. <name>parse</name>
  200. <tag-class>org.apache.taglibs.standard.tag.rt.xml.ParseTag</tag-class>
  201. <tei-class>org.apache.taglibs.standard.tei.XmlParseTEI</tei-class>
  202. <body-content>JSP</body-content>
  203. <attribute>
  204. <description>
  205. Name of the exported scoped variable for
  206. the parsed XML document. The type of the
  207. scoped variable is implementation
  208. dependent.
  209. </description>
  210. <name>var</name>
  211. <required>false</required>
  212. <rtexprvalue>false</rtexprvalue>
  213. </attribute>
  214. <attribute>
  215. <description>
  216. Name of the exported scoped variable for
  217. the parsed XML document. The type of the
  218. scoped variable is
  219. org.w3c.dom.Document.
  220. </description>
  221. <name>varDom</name>
  222. <required>false</required>
  223. <rtexprvalue>false</rtexprvalue>
  224. </attribute>
  225. <attribute>
  226. <description>
  227. Scope for var.
  228. </description>
  229. <name>scope</name>
  230. <required>false</required>
  231. <rtexprvalue>false</rtexprvalue>
  232. </attribute>
  233. <attribute>
  234. <description>
  235. Scope for varDom.
  236. </description>
  237. <name>scopeDom</name>
  238. <required>false</required>
  239. <rtexprvalue>false</rtexprvalue>
  240. </attribute>
  241. <attribute>
  242. <description>
  243. Deprecated. Use attribute 'doc' instead.
  244. </description>
  245. <name>xml</name>
  246. <required>false</required>
  247. <rtexprvalue>true</rtexprvalue>
  248. </attribute>
  249. <attribute>
  250. <description>
  251. Source XML document to be parsed.
  252. </description>
  253. <name>doc</name>
  254. <required>false</required>
  255. <rtexprvalue>true</rtexprvalue>
  256. </attribute>
  257. <attribute>
  258. <description>
  259. The system identifier (URI) for parsing the
  260. XML document.
  261. </description>
  262. <name>systemId</name>
  263. <required>false</required>
  264. <rtexprvalue>true</rtexprvalue>
  265. </attribute>
  266. <attribute>
  267. <description>
  268. Filter to be applied to the source
  269. document.
  270. </description>
  271. <name>filter</name>
  272. <required>false</required>
  273. <rtexprvalue>true</rtexprvalue>
  274. </attribute>
  275. </tag>
  276. <tag>
  277. <description>
  278. Saves the result of an XPath expression evaluation in a 'scope'
  279. </description>
  280. <name>set</name>
  281. <tag-class>org.apache.taglibs.standard.tag.common.xml.SetTag</tag-class>
  282. <body-content>empty</body-content>
  283. <attribute>
  284. <description>
  285. Name of the exported scoped variable to hold
  286. the value specified in the action. The type of the
  287. scoped variable is whatever type the select
  288. expression evaluates to.
  289. </description>
  290. <name>var</name>
  291. <required>true</required>
  292. <rtexprvalue>false</rtexprvalue>
  293. </attribute>
  294. <attribute>
  295. <description>
  296. XPath expression to be evaluated.
  297. </description>
  298. <name>select</name>
  299. <required>false</required>
  300. <rtexprvalue>false</rtexprvalue>
  301. </attribute>
  302. <attribute>
  303. <description>
  304. Scope for var.
  305. </description>
  306. <name>scope</name>
  307. <required>false</required>
  308. <rtexprvalue>false</rtexprvalue>
  309. </attribute>
  310. </tag>
  311. <tag>
  312. <description>
  313. Conducts a transformation given a source XML document
  314. and an XSLT stylesheet
  315. </description>
  316. <name>transform</name>
  317. <tag-class>org.apache.taglibs.standard.tag.rt.xml.TransformTag</tag-class>
  318. <tei-class>org.apache.taglibs.standard.tei.XmlTransformTEI</tei-class>
  319. <body-content>JSP</body-content>
  320. <attribute>
  321. <description>
  322. Name of the exported
  323. scoped variable for the
  324. transformed XML
  325. document. The type of the
  326. scoped variable is
  327. org.w3c.dom.Document.
  328. </description>
  329. <name>var</name>
  330. <required>false</required>
  331. <rtexprvalue>false</rtexprvalue>
  332. </attribute>
  333. <attribute>
  334. <description>
  335. Scope for var.
  336. </description>
  337. <name>scope</name>
  338. <required>false</required>
  339. <rtexprvalue>false</rtexprvalue>
  340. </attribute>
  341. <attribute>
  342. <description>
  343. Result
  344. Object that captures or
  345. processes the transformation
  346. result.
  347. </description>
  348. <name>result</name>
  349. <required>false</required>
  350. <rtexprvalue>true</rtexprvalue>
  351. </attribute>
  352. <attribute>
  353. <description>
  354. Deprecated. Use attribute
  355. 'doc' instead.
  356. </description>
  357. <name>xml</name>
  358. <required>false</required>
  359. <rtexprvalue>true</rtexprvalue>
  360. </attribute>
  361. <attribute>
  362. <description>
  363. Source XML document to be
  364. transformed. (If exported by
  365. &lt;x:set&gt;, it must correspond
  366. to a well-formed XML
  367. document, not a partial
  368. document.)
  369. </description>
  370. <name>doc</name>
  371. <required>false</required>
  372. <rtexprvalue>true</rtexprvalue>
  373. </attribute>
  374. <attribute>
  375. <description>
  376. Deprecated. Use attribute
  377. 'docSystemId' instead.
  378. </description>
  379. <name>xmlSystemId</name>
  380. <required>false</required>
  381. <rtexprvalue>true</rtexprvalue>
  382. </attribute>
  383. <attribute>
  384. <description>
  385. The system identifier (URI)
  386. for parsing the XML
  387. document.
  388. </description>
  389. <name>docSystemId</name>
  390. <required>false</required>
  391. <rtexprvalue>true</rtexprvalue>
  392. </attribute>
  393. <attribute>
  394. <description>
  395. javax.xml.transform.Source
  396. Transformation stylesheet as
  397. a String, Reader, or
  398. Source object.
  399. </description>
  400. <name>xslt</name>
  401. <required>false</required>
  402. <rtexprvalue>true</rtexprvalue>
  403. </attribute>
  404. <attribute>
  405. <description>
  406. The system identifier (URI)
  407. for parsing the XSLT
  408. stylesheet.
  409. </description>
  410. <name>xsltSystemId</name>
  411. <required>false</required>
  412. <rtexprvalue>true</rtexprvalue>
  413. </attribute>
  414. </tag>
  415. <tag>
  416. <description>
  417. Subtag of &lt;choose&gt; that includes its body if its
  418. expression evalutes to 'true'
  419. </description>
  420. <name>when</name>
  421. <tag-class>org.apache.taglibs.standard.tag.common.xml.WhenTag</tag-class>
  422. <body-content>JSP</body-content>
  423. <attribute>
  424. <description>
  425. The test condition that tells whether or
  426. not the body content should be
  427. processed
  428. </description>
  429. <name>select</name>
  430. <required>true</required>
  431. <rtexprvalue>false</rtexprvalue>
  432. </attribute>
  433. </tag>
  434. </taglib>