Has anyone used IBM's alphaworks XML Lightweight Extractor. It allows
you to modify a DTD so that when you all it, it automaticlly produces
the XML based on embedded SQL in the DTD.
You have to send it a ".dtdsa" filename and when I do, it tells me it
can't find the file, even though the file is in the same directory as
the jsp (I've even tried giving the exact path). My jsp code is below.
The jsp and dtd are in one directory and the jar file is in my jar
directory.
<%@ import="XLExtractor"%>
<%
try
{
XLExtractor xle = new XLExtractor();
String passArgs[] = new String[1];
passArgs[0] = "teamMember.dtdsa";
String XMLout = xle.extract(passArgs);
System.out.print(XMLout);
}
catch( Exception e )
{
System.out.println( e.toString() );
}
%>
--
Brian N. Burridge
Internet Architect
Ext 3515
The Internet Group - ITSS
Cox Target Media
"Until a person can say deeply and honestly, "I am what I am today
because of the choices I made yesterday," that person cannot say, "I
choose otherwise."
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets