Re: loading scripting languages in xslt
On Tue, Jun 18, 2002 at 08:53:19AM -0300, Guilherme Capilé wrote: > > Thanks everybody for all the help, but can anyone help me with EXSLT or any other > extension functions? > [...] > > XSLT processors offer such extensions; check the docs for your processor. You > > may also want to research if the processor you are using supports the EXSLT > > exsl:document element described at > > http://exslt.org/exsl/elements/document/index.html > > I am currently using libxslt in a apache module mod_xslt (that's my glue to > httpd), but I am willing to try any other non-java (jdk gave me a headache in > FreeBSD) server-side implementation which does not embed xml in another scripting > language. Well along with libxslt you have libexslt which is bundled with libxslt sources and distributions. You can register EXSLT within your module with: #include <libexslt/exslt.h> #include <libexslt/exsltconfig.h> /* somewhere in the module init code */ exsltRegisterAll(); And don't forget to add the dependancy inb the libexslt shared lib. > And my last doubt: what was the problem with xsl:script? Doesn't exslt have the > same function as an extension? No and the real problem is the hard binding between both language, you need to mix both interpreters (for XSLT and the extension language). Another controversial point was the bias toward Java (already present in the XSLT 1.0 spec unfortunately). Daniel -- Daniel Veillard | Red Hat Network http://redhat.com/products/network/ veillard@xxxxxxxxxx | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ 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