Thank you! I've got it. Remi
On 03/12/2012 06:11 PM, [email protected] wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > You can see how it's done with an example from Gert found here: > > https://github.com/fcrepo/gsearch/blob/master/FgsConfig/FgsConfigIndexTemplate/Lucene/foxmlToLucene.xslt > > Notice how he declares the namespace: > > xmlns:exts="xalan://dk.defxws.fedoragsearch.server.GenericOperationsImpl" > > in his XSLT XML and then uses function calls like: > > <xsl:value-of disable-output-escaping="yes" > select="exts:getDatastreamFromTika($PID, $REPOSITORYNAME, @ID, 'IndexField', > concat('ds.', @ID), concat('dsmd_', @ID, '.'), '', $FEDORASOAP, $FEDORAUSER, > $FEDORAPASS, $TRUSTSTOREPATH, $TRUSTSTOREPASS)"/> > > later in his code. This is a pretty usual way to incorporate extension > functions in XSLT, although of course, the use here is specific to Xalan. > > - --- > A. Soroka > Software& Systems Engineering :: Online Library Environment > the University of Virginia Library > -- Remi Malessa DAMS Rhaglennydd Datblygu | Development Programmer DAMS Llyfrgell Genedlaethol Cymru | National Library of Wales Isadran Cyfrifiaduron | Computer Section ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
