| JSP Tag Library for Fast and Easy XML ParsingTo use the actions from this library in your JSP pages, copy xmltaglib.jar, saxdomix.jaranddslogging.jarto the/WEB-INF/libsubdirectory of your web application. Then add the following directive at the top of each JSP. You can change the"p"prefix if it conflicts with the prefix of another tag library. 
    <%@ taglib prefix="p" uri="http://devsphere.com/xml/taglib/process" %>
The tag library descriptor (TLD) is contained by the xmltaglib.jarfile and the application server looks for it using the same mechanism that loads the classes. If you think there might be multiple files calledProcessXML.tldin yourCLASSPATH, copy this TLD file to the/WEB-INFsubdirectory of your web application. Then add a<taglib>element to your web application deployment descriptor in/WEB-INF/web.xmllike this: 
    <taglib>
        <taglib-uri>http://devsphere.com/xml/taglib/process</taglib-uri>
        <taglib-location>/WEB-INF/ProcessXML.tld</taglib-location>
    </taglib>
Note: Currently, XJTL supports JSP 1.2 and uses Apache JSTL 1.0 
to evaluate the ${...} expressions. Therefore, you have to deploy XJTL together 
with JSTL. The next version of XJTL will be based only on JSP 2.0. |