[Refdb-cvs] CVS: refdb/scripts libgen.pl,1.5.2.1,1.5.2.2
Status: Beta
Brought to you by:
mhoenicka
From: Markus H. <mho...@us...> - 2004-11-25 21:33:01
|
Update of /cvsroot/refdb/refdb/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv663 Modified Files: Tag: Release_0_9_5_stable libgen.pl Log Message: moved tei ulink handling to html and fo driver files Index: libgen.pl =================================================================== RCS file: /cvsroot/refdb/refdb/scripts/libgen.pl,v retrieving revision 1.5.2.1 retrieving revision 1.5.2.2 diff -u -U2 -r1.5.2.1 -r1.5.2.2 --- libgen.pl 29 Jul 2004 20:47:23 -0000 1.5.2.1 +++ libgen.pl 25 Nov 2004 21:32:41 -0000 1.5.2.2 @@ -33,5 +33,5 @@ # this list holds all "elements" that are created as a biblScope with # an attribute -my @tei_biblscope_elements = ("pages", "volume", "issue", "issn", "isbn", "ulink"); +my @tei_biblscope_elements = ("pages", "volume", "issue", "issn", "isbn"); # this list holds all real elements @@ -297,5 +297,6 @@ # "elements" which are in fact biblScope elements with an attribute - print "<!-- biblScope elements in the bibliography -->\n<xsl:template match=\"biblScope\" mode=\"refdb\">\n <xsl:variable name=\"reftype\" select=\"ancestor::bibl/\@rend\"/>\n <xsl:choose>\n"; +#todo: generate match list dynamically from tei_biblscope_elements + print "<!-- biblScope elements in the bibliography -->\n<xsl:template match=\"biblScope[\@type=\'pages\']|biblScope[\@type=\'volume\']|biblScope[\@type=\'issue\']|biblScope[\@type=\'issn\']|biblScope[\@type=\'isbn\']\" mode=\"refdb\">\n <xsl:variable name=\"reftype\" select=\"ancestor::bibl/\@rend\"/>\n <xsl:choose>\n"; foreach $element (@tei_biblscope_elements) { |