Uživatelské nástroje

Nástroje pro tento web


playground:playground

Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revizePředchozí verze
Následující verze
Předchozí verze
playground:playground [2018/12/13 15:11] eceplayground:playground [2019/09/03 09:28] (aktuální) ece
Řádek 2: Řádek 2:
  
 Tady si můžete zkoušet, jak se edituje DokuWiki Tady si můžete zkoušet, jak se edituje DokuWiki
 +
 +
 +~~PDFNS>katalogizace|book_order=<pagename>| katalogizace~~
 +
  
  
Řádek 16: Řádek 20:
  
  
 +<file xsl oai_skc.xsl>
 +<xsl:stylesheet version="1.0"
 +                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 +                xmlns:marc="http://www.loc.gov/MARC21/slim">
 +
 +    <xsl:output omit-xml-declaration="yes"/>
 +
 +    <xsl:template match="node()|@*">
 +        <xsl:copy>
 +            <xsl:apply-templates select="node()|@*"/>
 +        </xsl:copy>
 +    </xsl:template>
 +
 +    <xsl:template match="*">
 +        <xsl:element name="marc:{name()}" namespace="http://www.loc.gov/MARC21/slim">
 +            <xsl:copy-of select="namespace::*"/>
 +            <xsl:apply-templates select="node()|@*"/>
 +        </xsl:element>
 +    </xsl:template>
 +    
 +    <xsl:template match="marc:datafield[@tag='901' or @tag='990']"/>
 +    <xsl:template match="marc:datafield[@tag='100' or @tag='110' or @tag='111' or @tag='700' or @tag='710' or @tag='711']/marc:subfield[@code='0']"/>
 +    <xsl:template match="marc:datafield[@tag='910' and marc:subfield!='Sigla1' and marc:subfield!='Sigla2' and marc:subfield!='Sigla3' and marc:subfield!='Sigla4']"/>
 +    <xsl:template match="marc:record[count(marc:datafield[@tag='995'])=0]"/>
 +    <xsl:template match="marc:record[marc:datafield[@tag='995']/marc:subfield!='ska']"/>
 +    <xsl:template match="marc:datafield[@tag='995']"/>
 +</xsl:stylesheet>
 +
 +</file>
/var/www/eg-wiki.osvobozena-knihovna.cz/data/attic/playground/playground.1544710311.txt.gz · Poslední úprava: 2018/12/13 15:11 autor: ece