
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:t="http://www.tei-c.org/ns/1.0">
  <teiHeader xml:lang="de">
    <fileDesc>
      <titleStmt>
        <title type="main">XSLT</title>
        <author>
          <persName>
            <forename>Selina</forename>
            <surname>Galka</surname>
          </persName>
        </author>
        <respStmt>
          <resp>Projektleitung</resp>
          <persName>
            <forename>Helmut W.</forename>
            <surname>Klug</surname>
          </persName>
        </respStmt>
        <respStmt>
          <resp>Datenmodellierung</resp>
          <persName>
            <forename>Selina</forename>
            <surname>Galka</surname>
          </persName>
        </respStmt>
        <respStmt>
          <resp>Datenmodellierung</resp>
          <persName>
            <forename>Elisabeth</forename>
            <surname>Steiner</surname>
          </persName>
        </respStmt>
        <funder>Bundesministerium für Wissenschaft, Forschung und Wirtschaft
                    </funder>
      </titleStmt>
      <publicationStmt>
        <publisher>
          <orgName corresp="https://informationsmodellierung.uni-graz.at" ref="http://d-nb.info/gnd/1137284463">Zentrum für
                        Informationsmodellierung - Austrian Centre for Digital Humanities,
                        Karl-Franzens-Universität Graz</orgName>
          <country>Austria</country>
        </publisher>
        <authority>
          <orgName corresp="https://informationsmodellierung.uni-graz.at" ref="http://d-nb.info/gnd/1137284463">Zentrum für
                        Informationsmodellierung - Austrian Centre for Digital Humanities,
                        Karl-Franzens-Universität Graz</orgName>
          <country>Austria</country>
        </authority>
        <distributor>
          <orgName ref="https://gams.uni-graz.at">GAMS - Geisteswissenschaftliches
                        Asset Management System</orgName>
        </distributor>
        <availability>
          <licence target="https://creativecommons.org/licenses/by-nc/4.0">Creative Commons
                            BY 4.0</licence>
        </availability>
        <date when="2021">2021</date>
        <pubPlace>Graz</pubPlace>
        <idno type="PID">o:konde.86</idno>
      </publicationStmt>
      <seriesStmt>
        <title ref="http://gams.uni-graz.at/konde">KONDE Weißbuch</title>
        <respStmt>
          <resp>Projektleitung</resp>
          <persName>
            <forename>Helmut W.</forename>
            <surname>Klug</surname>
          </persName>
        </respStmt>
      </seriesStmt>
      <sourceDesc>
        <bibl>
          <title>Weißbuchartikel: XSLT</title>
          <author>Selina Galka</author>
          <publisher>Herausgegeben von Helmut W. Klug unter Mitarbeit von Selina Galka und Elisabeth Steiner</publisher>
          <date>2021</date>
          <country>Austria</country>
        </bibl>
      </sourceDesc>
    </fileDesc>
    <encodingDesc>
      <projectDesc>
        <ab>
          <ref target="info:fedora/context:konde" type="context">KONDE Weißbuch</ref>
        </ab>
        <p>Im KONDE-Projekt, das aus Hochschulraumstrukturmitteln finanziert wird,
                        beschäftigten sich sieben universitäre Partner und drei weitere
                        Einrichtungen aus unterschiedlichen Blickwinkeln mit theoretischen und
                        praktischen Aspekten der Digitalen Edition. Ein Outcome des Projektes
                        stellt das Weißbuch dar, welches über 200 Artikel zum Thema Digitale
                        Edition umfasst. Die behandelten Themenkomplexe reichen dabei über
                        Digitale Editionswissenschaft im Allgemeinen, Annotation und
                        Modellierung, Interfaces, Archivierung und Metadaten bis hin zu
                        rechtlichen Aspekten.</p>
      </projectDesc>
    </encodingDesc>
    <profileDesc>
      <langUsage>
        <language ident="de">Deutsch</language>
      </langUsage>
    </profileDesc>
  </teiHeader>
  <text xml:lang="de">
    <body>
      <div>
        <head>XSLT</head>
        <div>
          <head>Galka, Selina; selina.galka@uni-graz.at </head>
          <p>Bei XSLT (Teil der <hi rend="italic">Extensible Stylesheet Language</hi>, seit
                  1999 ein W3C-Standard) handelt sich um eine <hi rend="italic">turing</hi>-vollständige Sprache zur Transformation von <ref target="/o:konde.215" type="internal">XML</ref>-Dokumenten. XSLT-Programme, sogenannte
                  XSLT-Stylesheets, werden von XSLT-Prozessoren eingelesen, welche die in den
                  Stylesheets enthaltenen Anweisungen anwenden. <bibl>(Tidwell 2008, S.
                     27ff.)</bibl>
          </p>

          <p>XSLT-Dokumente basieren, genauso wie XML-Dokumente, auf Baumstrukturen. XSLT
                  benutzt die Abfragesprache <hi rend="italic">XPath</hi>, um durch XML-Dokumente zu
                  navigieren und Teile davon zu adressieren und zu manipulieren. XSLT eröffnet nun
                  die Möglichkeit, XML-Eingabedokumente in eine andere Struktur und ein anderes
                  Ausgabeformat zu bringen (XML, HTML, PDF, Text etc.).</p>
          <p>Ein XSLT-Dokument besteht aus Template-Regeln, die bei einem <code ana="no_link">@match</code>-Attribut gewisse Anweisungen ausführen. Ein Beispiel: </p>
          <p>
            <code ana="block">&lt;xsl:template match=”div”&gt;
    &lt;p&gt;
        &lt;xsl:apply-templates&gt;&lt;/xsl:apply-templates&gt;
    &lt;p&gt;
&lt;/xsl:template&gt;</code>
          </p>
          <p>Dieses Template adressiert zunächst ein <code>&lt;div&gt;</code>-Element eines
                  XML-Eingabedokuments. Im Ausgabedokument wird ein <code>&lt;p&gt;</code>-Element
                  erzeugt und der Inhalt des <code>&lt;div&gt;</code>-Elements weiterverarbeitet.
                  &lt;xsl:apply-templates&gt; weist an, dass weitere Templates ausgeführt werden
                  sollen.</p>
          <p>XSLT kann also dem Verwalten von Dokumenten (Aufräumen und Anreichern von Daten,
                  Zusammenführen von Dokumenten, Aufsplitten von Dokumenten), der Aufbereitung von
                  Daten für den Datenaustausch und zur Aufbereitung der Daten für eine etwaige
                  Darstellung und Publikation dienen. </p>
          <div type="literature">
            <listBibl>
              <biblStruct corresp="http://zotero.org/groups/1332658/items/G88VJ3A7" type="journalArticle" xml:id="Clark1999">
                <analytic>
                  <title level="a">Xsl transformations (xslt)</title>
                  <author>
                    <forename>James</forename>
                    <surname>Clark</surname>
                  </author>
                  <author>
                    <name>others</name>
                  </author>
                </analytic>
                <monogr>
                  <title level="j">World Wide Web Consortium (W3C). URL http://www. w3.
                              org/TR/xslt</title>
                  <imprint>
                    <date>1999</date>
                    <note type="accessed">2014-07-25T09:06:22Z</note>
                    <note type="url">http://new.renderx.com/files/demos/xmlspec/xslt/REC-xslt-19991116.pdf</note>
                  </imprint>
                </monogr>
              </biblStruct>
              <biblStruct corresp="http://zotero.org/groups/1332658/items/KG7I3J48" type="conferencePaper" xml:id="Bia2003">
                <analytic>
                  <title level="a">Multilingual markup of digital library texts using XML,
                              TEI and XSLT</title>
                  <author>
                    <forename>Alejandro</forename>
                    <surname>Bia</surname>
                  </author>
                  <author>
                    <forename>Manuel</forename>
                    <surname>Sanchez-Quero</surname>
                  </author>
                  <author>
                    <forename>Regis</forename>              
      <surname>Deau</surname>
                  </author>
                </analytic>
                <monogr>
                  <title level="m">Europe XML conference</title>
                  <imprint>
                    <date>2003</date>
                    <note type="accessed">2014-07-25T09:13:14Z</note>
                    <note type="url">http://mti.ugm.ac.id/~adji/courses/resources/doctor/scholargoogle/03-01-03.PDF</note>
                  </imprint>
                </monogr>
              </biblStruct>
              <biblStruct corresp="http://zotero.org/groups/1332658/items/6JV5HJ7J" type="book" xml:id="Mangano2006">
                <monogr>
                  <title level="m">XSLT Kochbuch. Lösungen für XML- und
                              XSLT-Entwickler</title>
                  <author>
                    <forename>Sal</forename>
                    <surname>Mangano</surname>
                  </author>
                  <edition>2. Auflage</edition>
                  <imprint>
                    <pubPlace>Köln</pubPlace>
                    <publisher>O&apos;Reilly</publisher>
                    <date>2006</date>
                  </imprint>
                </monogr>
              </biblStruct>
              <biblStruct corresp="http://zotero.org/groups/1332658/items/TQAIS6J2" type="book" xml:id="Kay2002">
                <monogr>
                  <title level="m">XSLT programmer&apos;s reference</title>
                  <author>
                    <forename>Michael</forename>
                    <surname>Kay</surname>
                  </author>
                  <imprint>
                    <pubPlace>Birmingham</pubPlace>
                    <publisher>Wrox Press</publisher>
                    <date>2002</date>
                  </imprint>
                </monogr>
              </biblStruct>
              <biblStruct corresp="http://zotero.org/groups/1332658/items/TFXPN8UE" type="webpage" xml:id="Kay2017">
                <analytic>
                  <title level="a">W3C Recommendation: XSL Transformations (XSLT) Version
                              3.0</title>
                  <respStmt>
                    <resp>contributor</resp>
                    <persName>
                      <forename>Michael</forename>
                      <surname>Kay</surname>
                    </persName>
                  </respStmt>
                </analytic>
                <monogr>
                  <title level="m">W3C</title>
                  <imprint>
                    <date>2017</date>
                    <note type="accessed">2020-06-03</note>
                    <note type="url">https://www.w3.org/TR/2017/REC-xslt-30-20170608/</note>
                  </imprint>
                </monogr>
              </biblStruct>
              <biblStruct corresp="http://zotero.org/groups/1332658/items/I2K6F4PG" type="book" xml:id="Tennison2005">
                <monogr>
                  <title level="m">Beginning XSLT 2.0: from novice to professional</title>
                  <title type="short">Beginning XSLT 2.0</title>
                  <idno type="ISBN">978-1-59059-324-0</idno>
                  <author>
                    <forename>Jeni</forename>
                    <surname>Tennison</surname>
                  </author>
                  <imprint>
                    <pubPlace>Berkeley, CA : New York</pubPlace>
                    <publisher>Apress ; Distributed to the book trade in the United States
                                 by Springer-Verlag</publisher>
                    <date>2005</date>
                    <note type="url">http://it-ebooks.info/book/1789/</note>
                  </imprint>
                </monogr>
              </biblStruct>
              <biblStruct corresp="http://zotero.org/groups/1332658/items/ZG3AQI7E" type="book" xml:id="Tidwell2002">
                <monogr>
                  <title level="m">XSLT: XML-Dokumente transformieren</title>
                  <author>
                    <forename>Doug</forename>
                    <surname>Tidwell</surname>                 
 </author>
                  <edition>1. Auflage</edition>
                  <imprint>
                    <pubPlace>Köln</pubPlace>
                    <publisher>O&apos;Reilly</publisher>
                    <date>2002</date>
                  </imprint>
                </monogr>
              </biblStruct>
              <biblStruct corresp="http://zotero.org/groups/1332658/items/MW9D6QEH" type="conferencePaper" xml:id="Wadler1999">
                <analytic>
                  <title level="a">A formal semantics of patterns in XSLT</title>
                  <author>
                    <forename>Philip</forename>
                    <surname>Wadler</surname>
                  </author>
                </analytic>
                <monogr>
                  <title level="m">Markup technologies</title>
                  <imprint>
                    <biblScope unit="volume">99</biblScope>
                    <date>1999</date>
                    <note type="accessed">2014-04-18T10:00:04Z</note>
                    <note type="url">http://courses.cs.washington.edu/courses/cse544/02sp/papers/wadler00.pdf</note>
                  </imprint>
                </monogr>
              </biblStruct>
              <biblStruct corresp="http://zotero.org/groups/1332658/items/ENZVS2E3" type="webpage" xml:id="zoteroItem_ENZVS2E3">
                <analytic>
                  <title level="a">XSL Transformation</title>
                </analytic>
                <monogr>
                  <title level="m">Wikipedia</title>
                  <imprint>
                    <date>2020</date>
                    <note type="accessed">2020-07-21</note>
                    <note type="url">https://de.wikipedia.org/wiki/XSL_Transformation</note>
                  </imprint>
                </monogr>
              </biblStruct>
            </listBibl>
          </div>
          <div type="subsection" xml:id="software">
            <list>
              <item>
                <ref target="http://oxygenxml.com/" type="external">Oxygen</ref>
              </item>
              <item>
                <ref target="https://github.com/acdh-oeaw/xsl-tokenizer" type="external">xsl-tokenizer</ref>
              </item>
              <item>
                <ref target="https://github.com/KONDE-AT" type="external">Wippets -
                           XSLT/HTML/JS-Fragmente für GAMS</ref>
              </item>
            </list>
          </div>
          <div type="subsection" xml:id="links">
            <list>
              <item>
                <ref target="/o:konde.215" type="internal">XML</ref>
              </item>
            </list>
          </div>
          <div type="subsection" xml:id="topics">
            <list>
              <item>Einführung</item>
              <item>Datenanalyse</item>
              <item>Software und Softwareentwicklung</item>
            </list>
          </div>
          <div type="subsection" xml:id="lexica">
            <list>
              <item>
                <ref target="https://edlex.de/index.php?title=Extensible_Stylesheet_Language_(XSL)">Edlex: Editionslexikon</ref>
              </item>
            </list>
          </div>
        </div>
      </div>
    </body>
  </text>
</TEI>
