Christopher Schultz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > All, > > I've been successfully using EXSLT functions -- specifically, the > date-and-time functions (http://exslt.org/date/index.html) -- for some > years now and I was interested in using the "seconds" function. It > turns out that the "seconds" function is not in the core functions and > so for whatever reason, it's not been included in Xalan (I'm using > Cocoon 2.1.11 which uses Xalan 2.7.1 by default). > > I've tried to download and use the date.seconds.xsl template and > included Javascript and MSXML XSL templates with a mixture of > <xsl:import> and xmlns:date declarations, but nothing seems to get the > two working together. > > Has anyone ever manually-plugged an EXSLT function into Xalan? How did > you do it?
Yes, we did it at Apache Forrest (which uses Cocoon-2.1 and Xalan). Search the net for Forrest commit messages and discussion which lead to this example and explanation. Also Issue FOR-1176 http://forrest.zones.apache.org/ft/build/forrest-seed/samples-b/exslt.html -David > Thanks, > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1 > Comment: GPGTools - http://gpgtools.org > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJTD7JXAAoJEBzwKT+lPKRYseIP/0hQ6PgCu6HpJgs7VmoWNyo/ > 8EheSdqHO+Na6jRZFJ+cTBAmQqpHGL2oejXV1AJJHfgfyOkWB3HiX2e3qAXnUjOW > ervQx8yDrFKLqICT3GrOW10TtZOGy3YN2E+fGK6y+BeD2LmJGDRS1h0NvicQLt0O > AUED+igO1NWshYZkpePamx7DacQbhZvrgRsSAzzDT2s0rkNb+DMxJlsdqY2PV3hS > rcN+/f2vUFJkrFXkdfI0HisRpGYDkpC1cYlo40WyDYADIrihA8O0l+UyRYsBsLiH > +VLloM/wsW65CaNKKUdlQ6Drs5k9AnLVZEdeo1qPZ51nDYfv6U9FGrEemwn5xTb8 > tmStuLhJ+T0A2OtppVut1jCbjASUO92nN0jkFmOD5+Ta5gP389eaXcCA25yQ8/xY > rRmecZLUvn3PRfU1iHJY9VgzNy1pho+peZ3dctNLAPwgcl6vbmXQe8zja7Yqb4+M > qift8rPfdCCFLkHeNZKDrGBOWg9U6m/AGqvx8oa6f76xTit+fIJ23Q9XlLcorFiX > xQjPuqeUfmeAkP6u3kvEhFV7BSh7XKqpzn5dnUCf3x2J8VGo0R2VQervUFd3bpiQ > kAoLtQf4Ln0MQaDbqzwekWHSkaoU0OV6OWl0DZUbNHIf+QpiCVmdXr29m5MmB/qG > RItiFqEquBtVTJ1/I4vr > =mgkb > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org > For additional commands, e-mail: users-h...@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org