Is there a function to return a datastream as an XML tree ?

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
>
> On Mar 12, 2012, at 2:03 PM, Remi Malessa wrote:
>
>
-- 
Remi Malessa
DAMS Rhaglennydd Datblygu | Development Programmer DAMS

Llyfrgell Genedlaethol Cymru | National Library of Wales
Isadran Cyfrifiaduron | Computer Section



------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to