Yes, I know that :-) , but it won't work, because xsl/koha-indexdefs-to-zebra.xsl is probably wrongly coded.
So one of the aim of my patch was to be sure it needed to re-written.
My patch is signed off, so it the changes I made to biblio-zebra-indexdefs.xsl were probably right. That means koha-indexdefs-to-zebra.xsl must probably be fixed to manage 1XX fieds.
But I want somebody to comment the bug to confirm it.

Mathieu


Frédéric Demians a écrit :
So I first try to write directly a "right" xsl file, and if it works,
it means my intuition about koha-indexdefs-to-zebra.xsl is good and
that it needs to be updated (and I don't know how to do that)

You have 3 files:

  1. xsl/koha-indexdefs-to-zebra.xsl
  2. marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml
  3. marc_defs/unimarc/biblios/
biblio-zebra-indexdefs.xsl

If you modify DOM indexing, you edit file 2, and then you generate file
3 from 2 using 1, using a XSLT processor, for example xsltproc:

  xsltproc xsl/koha-indexdefs-to-zebra.xsl \\
           marc_defs/unimarc/biblios/biblio-koha-indexdefs.xml \\
           > marc_defs/unimarc/biblios/biblio-zebra-indexdefs.xsl



--
Mathieu Saby
Service d'Informatique Documentaire
Service Commun de la Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : [email protected]

_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to