appologise for my ignorance if I'm completely off track, haven't had the luxury to do as much of this as I'd like but... Doesn't XSLT allow some java code to assist transformations, XSLT is an XML-based language therefore XML has Java support? Actually I think I'm wrong, from XSTL -> Java support it doesn't necessarily follow that XML -> Java support Summary: I think there's this XML based thing called XSLT that has Java included in some format and this might be where Lee Xu is coming from.
Dave. ps: thanks for the reminder once again that I need to get in and DO some of this stuff. Nag nag nag, can't a guy get any rest?
You can have inline-servlet code or jsp code inside the XSL( see Apache taglibs ) so that they get copied (as is) text to the output .html file. Checkout the taglib support in the Cocoon framework. ------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Can you have java code in XML ? Yes you can Can it do anything useful, being in the XML ? probably not. It will only be considered as data which the XML will store in the document. You can use XSL and CSS to change the format of an XML document for displaying in a browser or any other application. It helps you modify/change the xml tree and add formatting and style elements to make the XML document suitable for display/inerpretation by programs/browsers.