I don't know anything about XSLT, but I do know a little bit about JSP. I need to use data given as input in the XML format and generate 1 or more graphs based on user request and the data from the input. The input is from a file and all the java code resides in a servlet. 1) Which technologies are best for this? 2) Which books are best for this? Thanks. Mathew
If you were just re-formatting the data text, XSLT would do the trick, but since you have to do some computation, stick with java for XML processing. Your first decision is whether to use DOM style parsing or SAX style, so the first question is, how big is the data? are we talking megabytes or kilobytes here? I would certainly develop a "JavaBeans" style component(s) to read the data and generate the graphs so you can test it outside the servlet envrionment. There are LOTS of XML & Java books, typical servlets books now include chapters on XML since it has become so important. Bill
Currently, the data is only kilobytes of data. I doubt if it will go to megabytes of data. What about Scalable Vector Graphics SVG (Stylesheets) vs. JSP. I am only getting my feet wet in XML, so please excuse dumb questions. :-) Mathew
Depending upon the type of graphs you're trying to generate you might find MonkeyBoyGraph useful: http://monkeygraph.sourceforge.net/ Regarding books, I found Brett McLaughlin's "Java & XML" (O'Reilly) book to be a fantastic intro.