XML write taglib ver. 1.3

    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">

   <node><x:escapeXML> ...</x:escapeXML></node>


Tags are:


Body tag wraps your XML document. Parameters are:

1) encoding Optional parameter. Describes an encoding.
2) contentType Optional parameter. Possible values are true or false. If this values is true than tag will setup a content type also. Default value is false.


Body tag produces a CDATA section of document. Parameters are: none


Body tag produces a comment. Parameters are: none


Body tag escapes the special symbols (< > etc.) Parameters are: none

for downloading:

Library: xmlwritetag.jar    Description: taglib.tld

© Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: