Problem with adding Style
Hi there,
got a style made by an employee of my University. Unfortunatly i am not able to add the sytle to my zotero-manager. Got the error: "Zotero_Style_FGUL_1.1.4.csl scheint keine gültige CSL-Datei zu sein."
..." seems not to be a valid CSL-file."
Can someone help me ?
Thx in advance
<?xml version="1.0" encoding="utf-8"?>
<?oxygen RNGSchema="file:/C:/temp/csl.rnc" type="compact"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text">
<info>
<title>FGUL Zitierstil, Version 1.1.4</title>
<id>http://www.fhv.at/learningsupport/LSC/download/fhv-citation-style-1-1.csl</id>
<link href="http://www.fhv.at/learningsupport/LSC/download/fhv-citation-style-1-1.csl" />
<contributor>
<name>Markus Ehrenhöfer</name>
<email>ehrenhoefer@bwl.tu-darmstadt.de</email>
</contributor>
<category term="author-date" />
<category term="generic-base" />
<updated>2010-08-03T08:30:00+00:00</updated>
<summary>Citation Style of the University of Applied Sciences Vorarlberg, based on A Harvard author-date style variant, mostly german</summary>
<link href="http://www.fgul.wi.tu-darmstadt.de/media/bwl2/download/stellenangebotediplomarbeitstudienarbeiten/gestaltungsempfehlungendesfachgebietspdf.pdf" rel="documentation" />
<!-- useful things: non breaking space: -->
</info>
<!-- @author Ivan Galkin -->
<!-- add 10th May 2010-->
<terms>
<locale xml:lang="de">
<term name="anonymous" form="short">o. V.</term>
<term name="anonymous" form="verb-short">ohne Verfasser</term>
<term name="no date" form="short">o. J.</term>
<term name="no date" form="verb-short">ohne Jahr</term>
</locale>
</terms>
<macro name="author">
<names variable="author" delimiter="; ">
<name name-as-sort-order="all" sort-separator=", " delimiter="/" delimiter-precedes-last="always" form="long" suffix=" " />
<label form="short" prefix=" (" suffix=".)" />
<substitute>
<text macro="editor" />
<names variable="translator" />
</substitute>
</names>
<text macro="anon" />
</macro>
<macro name="author-short">
<names variable="author" delimiter="/">
<name form="short" delimiter="/" initialize-with=". " delimiter-precedes-last="always" sort-separator="," suffix=" " />
<substitute>
<names variable="editor" />
<names variable="translator" />
</substitute>
</names>
<text macro="anon" />
</macro>
<macro name="editor">
<choose>
<if type="chapter">
<names variable="editor" delimiter="/">
<name name-as-sort-order="all" sort-separator=", " delimiter="/" delimiter-precedes-last="always" />
<label form="short" prefix=" (" suffix=".): "></label>
</names>
</if>
<else>
<names variable="editor" delimiter="/">
<name name-as-sort-order="all" sort-separator=", " delimiter="/" delimiter-precedes-last="always" />
<label form="short" prefix=" (" suffix=".) "></label>
</names>
</else>
</choose>
</macro>
<macro name="anon">
<choose>
<if variable="author editor translator" match="none">
<text term="anonymous" form="short" suffix=" " />
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book">
<text variable="title" font-style="normal" suffix=". " />
</if>
<else-if type="chapter">
<text variable="title" font-style="normal" prefix="" suffix=". " />
</else-if>
<else-if type="webpage">
<text variable="title" font-style="normal" suffix=". " />
</else-if>
<else-if type="article-journal article-newspaper article-magazine" match="any">
<text variable="title" font-style="normal" prefix="" suffix=". " />
</else-if>
<else>
<text variable="title" font-style="normal" prefix=" " suffix=" " />
</else>
</choose>
</macro>
<macro name="collection-title">
<choose>
<if type="article-journal">
<text variable="collection-title" prefix=" (= " suffix="), " />
</if>
<else-if type="book chapter article-newspaper webpage" match="any">
<text variable="collection-title" prefix=" (= " suffix=")" />
</else-if>
<else>
<text term="no date" form="short" suffix=" " />
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if type="webpage">
<choose>
<if variable="URL">
<text value="Verfügbar: " />
<text variable="URL" />
<group prefix=" (" delimiter=" " suffix=")">
<text value="Zugriff am:" />
<date variable="accessed">
<date-part name="day" form="numeric-leading-zeros" suffix="." />
<date-part name="month" suffix="." form="numeric-leading-zeros" />
<date-part name="year" form="long" />
</date>
</group>
</if>
</choose>
</if>
<else-if type="book chapter article-journal article-newspaper" match="any">
<choose>
<if variable="URL">
<text value=". Zugleich online im Internet: " />
<text variable="URL" />
<group prefix=" (" delimiter=" " suffix=")">
<text value="Zugriff am:" />
<date variable="accessed">
<date-part name="day" form="numeric-leading-zeros" suffix="." />
<date-part name="month" suffix="." form="numeric-leading-zeros" />
<date-part name="year" form="long" />
</date>
</group>
</if>
</choose>
</else-if>
</choose>
</macro>
<!-- @author Ivan Galkin -->
<!-- changed at 10th May 2010 -->
<macro name="publisher">
<choose>
<if type="chapter book" match="any">
<text variable="publisher-place" />
<choose>
<if variable="publisher-place">
<text value=" "/>
</if>
</choose>
<text macro="year-date" />
</if>
<else>
<group delimiter=" ">
<text variable="publisher-place"></text>
</group>
</else>
</choose>
</macro>
<macro name="published-date">
<choose>
<if type="article-newspaper">
<date variable="issued">
<date-part name="day" form="numeric" suffix=". " />
<date-part name="month" form="long" suffix=" " />
<date-part name="year" form="long" />
</date>
</if>
</choose>
</macro>
got a style made by an employee of my University. Unfortunatly i am not able to add the sytle to my zotero-manager. Got the error: "Zotero_Style_FGUL_1.1.4.csl scheint keine gültige CSL-Datei zu sein."
..." seems not to be a valid CSL-file."
Can someone help me ?
Thx in advance
<?xml version="1.0" encoding="utf-8"?>
<?oxygen RNGSchema="file:/C:/temp/csl.rnc" type="compact"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text">
<info>
<title>FGUL Zitierstil, Version 1.1.4</title>
<id>http://www.fhv.at/learningsupport/LSC/download/fhv-citation-style-1-1.csl</id>
<link href="http://www.fhv.at/learningsupport/LSC/download/fhv-citation-style-1-1.csl" />
<contributor>
<name>Markus Ehrenhöfer</name>
<email>ehrenhoefer@bwl.tu-darmstadt.de</email>
</contributor>
<category term="author-date" />
<category term="generic-base" />
<updated>2010-08-03T08:30:00+00:00</updated>
<summary>Citation Style of the University of Applied Sciences Vorarlberg, based on A Harvard author-date style variant, mostly german</summary>
<link href="http://www.fgul.wi.tu-darmstadt.de/media/bwl2/download/stellenangebotediplomarbeitstudienarbeiten/gestaltungsempfehlungendesfachgebietspdf.pdf" rel="documentation" />
<!-- useful things: non breaking space: -->
</info>
<!-- @author Ivan Galkin -->
<!-- add 10th May 2010-->
<terms>
<locale xml:lang="de">
<term name="anonymous" form="short">o. V.</term>
<term name="anonymous" form="verb-short">ohne Verfasser</term>
<term name="no date" form="short">o. J.</term>
<term name="no date" form="verb-short">ohne Jahr</term>
</locale>
</terms>
<macro name="author">
<names variable="author" delimiter="; ">
<name name-as-sort-order="all" sort-separator=", " delimiter="/" delimiter-precedes-last="always" form="long" suffix=" " />
<label form="short" prefix=" (" suffix=".)" />
<substitute>
<text macro="editor" />
<names variable="translator" />
</substitute>
</names>
<text macro="anon" />
</macro>
<macro name="author-short">
<names variable="author" delimiter="/">
<name form="short" delimiter="/" initialize-with=". " delimiter-precedes-last="always" sort-separator="," suffix=" " />
<substitute>
<names variable="editor" />
<names variable="translator" />
</substitute>
</names>
<text macro="anon" />
</macro>
<macro name="editor">
<choose>
<if type="chapter">
<names variable="editor" delimiter="/">
<name name-as-sort-order="all" sort-separator=", " delimiter="/" delimiter-precedes-last="always" />
<label form="short" prefix=" (" suffix=".): "></label>
</names>
</if>
<else>
<names variable="editor" delimiter="/">
<name name-as-sort-order="all" sort-separator=", " delimiter="/" delimiter-precedes-last="always" />
<label form="short" prefix=" (" suffix=".) "></label>
</names>
</else>
</choose>
</macro>
<macro name="anon">
<choose>
<if variable="author editor translator" match="none">
<text term="anonymous" form="short" suffix=" " />
</if>
</choose>
</macro>
<macro name="title">
<choose>
<if type="book">
<text variable="title" font-style="normal" suffix=". " />
</if>
<else-if type="chapter">
<text variable="title" font-style="normal" prefix="" suffix=". " />
</else-if>
<else-if type="webpage">
<text variable="title" font-style="normal" suffix=". " />
</else-if>
<else-if type="article-journal article-newspaper article-magazine" match="any">
<text variable="title" font-style="normal" prefix="" suffix=". " />
</else-if>
<else>
<text variable="title" font-style="normal" prefix=" " suffix=" " />
</else>
</choose>
</macro>
<macro name="collection-title">
<choose>
<if type="article-journal">
<text variable="collection-title" prefix=" (= " suffix="), " />
</if>
<else-if type="book chapter article-newspaper webpage" match="any">
<text variable="collection-title" prefix=" (= " suffix=")" />
</else-if>
<else>
<text term="no date" form="short" suffix=" " />
</else>
</choose>
</macro>
<macro name="access">
<choose>
<if type="webpage">
<choose>
<if variable="URL">
<text value="Verfügbar: " />
<text variable="URL" />
<group prefix=" (" delimiter=" " suffix=")">
<text value="Zugriff am:" />
<date variable="accessed">
<date-part name="day" form="numeric-leading-zeros" suffix="." />
<date-part name="month" suffix="." form="numeric-leading-zeros" />
<date-part name="year" form="long" />
</date>
</group>
</if>
</choose>
</if>
<else-if type="book chapter article-journal article-newspaper" match="any">
<choose>
<if variable="URL">
<text value=". Zugleich online im Internet: " />
<text variable="URL" />
<group prefix=" (" delimiter=" " suffix=")">
<text value="Zugriff am:" />
<date variable="accessed">
<date-part name="day" form="numeric-leading-zeros" suffix="." />
<date-part name="month" suffix="." form="numeric-leading-zeros" />
<date-part name="year" form="long" />
</date>
</group>
</if>
</choose>
</else-if>
</choose>
</macro>
<!-- @author Ivan Galkin -->
<!-- changed at 10th May 2010 -->
<macro name="publisher">
<choose>
<if type="chapter book" match="any">
<text variable="publisher-place" />
<choose>
<if variable="publisher-place">
<text value=" "/>
</if>
</choose>
<text macro="year-date" />
</if>
<else>
<group delimiter=" ">
<text variable="publisher-place"></text>
</group>
</else>
</choose>
</macro>
<macro name="published-date">
<choose>
<if type="article-newspaper">
<date variable="issued">
<date-part name="day" form="numeric" suffix=". " />
<date-part name="month" form="long" suffix=" " />
<date-part name="year" form="long" />
</date>
</if>
</choose>
</macro>
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
<!-- @author Ivan Galkin -->
<!-- changed 10th May -->
<macro name="year-date">
<choose>
<if variable="issued">
<date variable="issued">
<date-part name="year"/>
</date>
</if>
<else>
<text term="no date" form="short"/>
</else>
</choose>
</macro>
<macro name="locator">
<choose>
<if type="article-journal">
<text variable="volume" prefix="" suffix="" />
<date variable="issued">
<date-part name="year" prefix="(" suffix=")" />
</date>
<text variable="issue" prefix="" suffix="" />
</if>
<else-if type="article-newspaper">
<text variable="volume" prefix="" suffix="" />
<!-- <date variable="issued">
<date-part name="year" prefix="(" suffix=")"/>
</date> -->
<text variable="issue" prefix="" suffix="" />
</else-if>
</choose>
</macro>
<macro name="pages">
<choose>
<if type="chapter article-journal article-newspaper" match="any">
<label variable="page" form="short" prefix=", " suffix=". " />
<text variable="page" />
</if>
</choose>
</macro>
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="numeric" suffix=". Aufl., " />
</group>
</if>
<else>
<text variable="edition" suffix=". " />
</else>
</choose>
</macro>
<macro name="container-prefix">
<choose>
<if type="chapter article-journal article-magazine article-newspaper" match="any">
<text term="in" text-case="capitalize-first" suffix=": " />
</if>
</choose>
</macro>
<macro name="container-title">
<choose>
<if type="chapter">
<text variable="container-title" font-style="normal" suffix=". " />
</if>
<else-if type="article-journal article-newspaper article-magazine" match="any">
<text variable="container-title" font-style="normal" suffix=", " />
</else-if>
<else-if type="webpage">
<text variable="container-title" font-style="normal" suffix=". " />
</else-if>
<else>
<text variable="container-title" font-style="normal" suffix=" " />
</else>
</choose>
</macro>
<!-- Hier beginnt die Formatierung für das Kurzzitat im Text - this is where the citation starts -->
<citation>
<option name="et-al-min" value="4" />
<option name="et-al-use-first" value="1" />
<option name="et-al-subsequent-min" value="4" />
<option name="et-al-subsequent-use-first" value="1" />
<option name="disambiguate-add-year-suffix" value="true" />
<option name="disambiguate-add-names" value="true" />
<layout prefix="" suffix="." delimiter="; ">
<text macro="author-short" />
<text macro="year-date" prefix="(" suffix=")"/>
<text variable="locator" prefix=", S. " />
</layout>
</citation>
<!-- Hier beginnt die Formatierung für das Literaturverzeichnis - this is where the bibliography starts -->
<bibliography>
<option name="hanging-indent" value="true" />
<option name="et-al-min" value="4" />
<option name="et-al-use-first" value="1" />
<option name="entry-spacing" value="0"/>
<sort>
<key macro="author" />
<key variable="issued" sort="ascending"/>
<key variable="title" />
</sort>
<layout suffix=".">
<text macro="author" />
<text macro="year-date" prefix="(" suffix="): " />
<text macro="title" />
<text macro="container-prefix" />
<text macro="editor" />
<text macro="container-title" />
<text macro="edition" />
<text macro="publisher" />
<text macro="collection-title"></text>
<text macro="locator" />
<text macro="pages" />
<text macro="access" />
</layout>
</bibliography>
</style>
http://www.zotero.org/support/dev/creating_citation_styles#xml_validation
please post the style to gist.github.com if you need help with it - easier to look at and, if necessary, to download.
thank's for your help. Just uploaded the style to gist.github.com. (http://gist.github.com/593493)
will try now to validate the file with emacs nXML mode - excited if i get some results.
Pherhaps you can have a look trough the uploaded file.
Thx!
THANK YOU!