Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can include another XML document to be processed by XSLT using the document() function. The parameter to this function is a string with the path to the XML document to process. This can be either a static .xml file stored on the server filesystem or a URL, which will be fetched at time of processing. For Solr, the latter later is what we need. Furthermore, we need to distinguish templates for processing this external XML document as opposed to the input XML document. We'll do this using the mode attribute and define a different processing mode for each query.

...


It should also be possible to use it in other versions of DSpace (starting from 1.6), but these use different versions of Solr, so modify the procedure accordingly (and expect other caveats):

DSpace 5Solr 4.10.2
DSpace 4.0Solr 4.4.0
DSpace 3.0Solr 3.5.0
DSpace 1.8Solr 3.3.0
DSpace 1.7Solr 1.4.1
DSpace 1.6Solr 1.3.0

...