Hi Remi,

You can call other xslts by using the import or include elements, and you can 
use the choose and when elements with tests on the contents of the foxml to 
contain the xslt code generating the index document parts required for 
different content models.

Gert


On 01/10/2013, at 15.28, Remi Malessa wrote:

> Hi Gert, 
> 
> Thank you for replying to my question.
> 
> I have a configuration where Fedora G Search listens to the Fedora JMS queue 
> for 
> ingest events. So I can't really change the XSLT...
> 
> Is it possible to use a different XSLT for different content models, or
> would it work if I call other XSLTs from the main XSLT specified in the 
> configuration ?
> 
> Thanks very much.
> 
> Remi
> 
> 
> 
> On 09/27/2013 03:25 PM, Gert Schmeltz Pedersen wrote:
>> 
>> You may install multiple xslt under your fgsconfigFinal/index/<indexName>/
>> 
>> The default one is normally called foxmlToSolr.xslt and it is configured in 
>> your index.properties at
>> 
>> fgsindex.defaultUpdateIndexDocXslt = foxmlToSolr
>> 
>> If you install e.g. myFoxmlToSolr.xslt then you can use it by 
>> 
>> ?operation=updateIndex&action=fromPid&value=<pid>&indexDocXslt=myFoxmlToSolr
>> 
>> FGS will be informed about modifications, if you have configured that. See 
>> the documentation page.
>> 
>> Gert
>> 
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk_______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to