[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XQL + XSL = Better (kinda like scripting)
>I really don't like the idea of adding any old scripting languages to XSL, but if >some sort of scripting is put into XSL, there will need to be some standard API >(like SAX is for XML) for how to process scripts within XSL with an external >script interpreter (such as a JavaScript interpreter). To me, the natural direction for XSL and scripting is fortunately acceptable: mandate one script engine (ecmascript seems the probable choice), but allow alternatives to be specified (perl, java, scheme, python, tcl, choose your poison). Any of those should be able to interact with the DOM. That is essentially where we already are with the <SCRIPT> tag, although it would be nice if you could also have a hook for uploading a script interpreter on demand. (Will the script engine also have to be able to invoke a "XSLOM" in addition to the DOM?) IMHO, the harder question regarding standards, scripting, and query is what to do for expressions sent to (or already at) the server. It would be nice for implementors if there were a unifying minimum-mandatory expression/query capability that would be used in common for xml query, xsl scoping, acl definition, dasl search, rdf query, and so on. It seems nearly every one of emergent web standards has a need for expressing a "scope" or carrying out query. Just as people will want the freedom to choose their own script engine, they will want the freedom to choose the power of the query language they use (including the choice of a full scripting language, hence the connection). For some, a CMIP-style depth-and-children model will be sufficient. Others will want a join operation and other sql-like things. Others will want a "real" language. -mda -mda XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|