-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Not to my knowledge, although I welcome correction. I believe that it is necessary to parse the returned string.
- --- A. Soroka Software & Systems Engineering :: Online Library Environment the University of Virginia Library On Mar 14, 2012, at 5:29 AM, Remi Malessa wrote: > 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org iQEcBAEBAgAGBQJPaflOAAoJEATpPYSyaoIkIQoH/3FFg2AVM5QktlM/4TWqYciK nt/MpsX16PFv7eiS1Hqp8EUUrgqLAfrYzzE2y61tb3j/wU7ggmNaoHzDrmq3+7UH H+CbGUMbq5zGVi2fMQR5Y9VqlzszB6EK57E4zemKXwqFYS5Co8+0F+WfNE4qbWrM VP4Eb2vUzNfzEZa8cfhX6+8s9/1DOtydTMvjX6mwxW1BRKmtB8qsG/z44bhJ72JA 6slBCLRtoqsTXH3SpqTQadCvyEi0YCpcHlQNeDpUZr89hi/VNV3oT7+6NXhlhKFe wuDoVTpi+1Of/vZygEWNYZBGqFDLuvjoitD7atf1QmhUFgomidNAnRP9XR6BTm8= =UVZ7 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
