Custom JSP taglib lets you write XML documents. Body tag XML provides a mandatory header, other tags
help you to write your XML code. For example:
<%@ taglib uri="taglib.tld" prefix="x" %> <x:XML encoding="UTF-8" contentType="true"> <root> <node><x:escapeXML> ...</x:escapeXML></node> ... </root> </x:XML> Tags are: XML Body tag wraps your XML document. Parameters are: 1) encoding Optional parameter. Describes an encoding.
CDATA Body tag produces a CDATA section of document. Parameters are: none Comment Body tag produces a comment. Parameters are: none escapeXML Body tag escapes the special symbols (< > etc.) Parameters are: none for downloading: Library: xmlwritetag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|