Franck, You can reference a datastream from external objects in your services.
Start by adding the xslt file as a datastream to some object in your repo. Your input param will contain the name of the datastream containing the xslt <fmm:DatastreamInputParm defaultValue="" label="transform some xml" parmName="XSLT-FILE" passBy="URL_REF" required="true"/> You need to add the pid attribute to your binding, and specify the name of the datastream and object PID that contains it. <fbs:DSInput DSMax="1" DSMin="1" DSOrdinality="false" wsdlMsgPartName="XSLT-FILE" pid="my-system:SomeObject"> <fbs:DSInputLabel>XSLT Binding</fbs:DSInputLabel> <fbs:DSMIME>text/xml</fbs:DSMIME> <fbs:DSInputInstruction/> </fbs:DSInput> Your opportation will look something like this: <http:operation location="http://local.fedora.server/saxon/SaxonServlet?source=(SOMETHING)&style=(XSLT-FILE)&clear-stylesheet-cache=(CLEAR_CACHE)"/> ________________________________________ From: Franck Borel [franck.bo...@ub.uni-freiburg.de] Sent: Thursday, October 18, 2012 11:03 AM To: Support and info exchange list for Fedora users. Subject: [fcrepo-user] Disseminator: Passing style to Saxon servlet from datastream Hi all, I am writing on a disseminator using Fedora 3.6.1 and the oaiprovider 1.2.2. I use the example which is included in the oaiprovider tar file. What I want is to place the style sheet (extract.xsl) in a separeted fedora object instead in the item itself, that would be parsed. How can I do this? Could I place a hard coded address instead of a UserInputParam in the METHODMAP (see demo_OAIAdvancedItem-Deployment.xml)? instead of: <fmm:DatastreamInputParm parmName="extract.xsl" passBy="URL_REF" required="true"/> something like <fmm:DatastreamPassingByParam parName="extract.xsl" passBx="<Reference>" value="<PID>/extract.xsl"> Any Idea? By the way, where do I find the documentation about METHODMAP? Thanks and have a nice day -- Franck ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Fedora-commons-users mailing list Fedora-commons-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fedora-commons-users