@@ -, +, @@ the sample files - Apply the patch - Go to the help page on the 'Z39.50/SRU Servers' page and provides some examples that cover the introduced files. - Sign off Help page does shed some light to the XSLT usage. Enough to my taste. --- .../prog/en/modules/admin/z3950servers.tt | 2 +- .../prog/en/modules/help/admin/z3950servers.tt | 26 +++++++++++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt @@ -190,7 +190,7 @@
  • - ( Separate files by commas.) + (comma-separated filenames)
  • --- a/koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/z3950servers.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/help/admin/z3950servers.tt @@ -25,9 +25,33 @@
  • 'Record type' lets you define if this is a bibliographic or an authority target.
  • 'Additional SRU options': You can enter additional options of the external server here, like sru_version=1.1 or schema=marc21, etc. Note that these options are server dependent.
  • 'SRU Search field mapping': Click on Modify to add or update the mapping from the available fields on the Koha search form to the specific server dependent index names. For instance, a SRU server could use 'cql.anywhere' for the Any field on the Koha form. If you do not enter an index name for a specific search field, the whole record will be searched.
  • -
  • 'XSLT file(s)': You can enter here one or more XSLT file names that you want to apply on the search results.
  • +
  • 'XSLT file(s)': You can enter here one or more (comma-separated) XSLT file names that you want to apply on the search results.
  • +

    Using XSLT file(s) to transform the imported records

    +

    When retrieving records from external targets you may wish to automate some + changes to those records. XSLT's allow you to do this. Koha ships with some + sample XSLT files ready for use.

    + + +

    Example

    +

    If you want to remove both holdings data and $9 links when importing, you can use:

    + + + + + + + + + +
    SyntaxXSLT configuration
    MARC21/NORMARCDel9LinksExcept952.xsl, Del952.xsl
    UNIMARCDel9LinksExcept995.xsl, Del995.xsl
    +

    SRU example

    If you want to enter the Library of Congress SRU server, you should at least use the following information. The full URL http://lx2.loc.gov:210/LCDB must be entered as follows:

    --