Added support for the yearFirstPublished and languageOfPublication properties of the Publication contenttype to Mandalay.

git-svn-id: https://svn.libreccm.org/ccm/trunk@2521 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-02-12 14:46:49 +00:00
parent 73f29fa6b5
commit e848f031d2
19 changed files with 6777 additions and 6050 deletions

View File

@ -20,234 +20,256 @@
-->
<translations>
<line id="lang">Deutsch</line>
<line id="version">0.8</line>
<line id="lang">Deutsch</line>
<line id="version">0.8</line>
<line id="moreButton">mehr »</line>
<line id="moreButtonTitle">weiter lesen</line>
<line id="moreButton">mehr »</line>
<line id="moreButtonTitle">weiter lesen</line>
<line id="organizationPublications">Publikationen</line>
<line id="organizationPublications">Publikationen</line>
<line id="orderByText">Publikationen sortieren nach </line>
<line id="orderByTitle">Titel</line>
<line id="orderByYear">Erscheinungsjahr</line>
<line id="orderByText">Publikationen sortieren nach </line>
<line id="orderByTitle">Titel</line>
<line id="orderByYear">Erscheinungsjahr</line>
<line id="editorText"> (Hrsg.)</line>
<line id="isbnPreText">(ISBN: </line>
<line id="isbnPostText">) </line>
<line id="editorText"> (Hrsg.)</line>
<line id="isbnPreText">(ISBN: </line>
<line id="isbnPostText">) </line>
<line id="inSeriesPreText">In: </line>
<line id="inSeriesEditorPreText">Herausgegeben durch</line>
<line id="inSeriesPreText">In: </line>
<line id="inSeriesEditorPreText">Herausgegeben durch</line>
<line id="collectedVolumePreText">in: </line>
<line id="journalPreText">in: </line>
<line id="pagesPreText">S. </line>
<line id="pagesBetweenText"> - </line>
<line id="proceedingsPreText">in: </line>
<line id="wpNumberPreText">Nr. </line>
<line id="collectedVolumePreText">in: </line>
<line id="journalPreText">in: </line>
<line id="pagesPreText">S. </line>
<line id="pagesBetweenText"> - </line>
<line id="proceedingsPreText">in: </line>
<line id="wpNumberPreText">Nr. </line>
<line id="exportLinks/publication/heading">Angaben herunterladen als</line>
<line id="exportLinks/category/heading">Publikationsliste herunterladen als</line>
<line id="downloadReference">Angaben herunterladen als</line>
<line id="bibtex">BibTeX</line>
<line id="downloadAsBibtex">Als BibTeX herunterladen</line>
<line id="ris">RIS</line>
<line id="downloadAsRis">Als RIS herunterladen</line>
<line id="BibTeX">BibTeX</line>
<line id="RIS">RIS</line>
<line id="downloadAsRIS">Als RIS herunterladen</line>
<line id="exportLinks/publication/heading">Angaben herunterladen als</line>
<line id="exportLinks/category/heading">Publikationsliste herunterladen als</line>
<line id="downloadReference">Angaben herunterladen als</line>
<line id="bibtex">BibTeX</line>
<line id="downloadAsBibtex">Als BibTeX herunterladen</line>
<line id="ris">RIS</line>
<line id="downloadAsRis">Als RIS herunterladen</line>
<line id="BibTeX">BibTeX</line>
<line id="RIS">RIS</line>
<line id="downloadAsRIS">Als RIS herunterladen</line>
<line id="librarySignatures/heading">Bibliotheken</line>
<line id="librarySignatures/heading">Bibliotheken</line>
<line id="articleInCollectedVolume/abstract">Zusammenfassung</line>
<line id="articleInCollectedVolume/authors">Autorinnen/Autoren</line>
<line id="articleInCollectedVolume/author">Autorin/Autor</line>
<line id="articleInCollectedVolume/chapter">Kapitel</line>
<line id="articleInCollectedVolume/collectedVolume">In Sammelband</line>
<line id="articleInCollectedVolume/isbn">ISBN</line>
<line id="articleInCollectedVolume/misc"></line>
<line id="articleInCollectedVolume/pages">Seiten</line>
<line id="articleInCollectedVolume/pagesSeparator"> bis </line>
<line id="articleInCollectedVolume/publisher">Verlag</line>
<line id="articleInCollectedVolume/reviewed">Referierter Artikel</line>
<line id="articleInCollectedVolume/reviewed/yes">Ja</line>
<line id="articleInCollectedVolume/reviewed/no">Nein</line>
<line id="articleInCollectedVolume/series">Erschienen in der Reihe</line>
<line id="articleInCollectedVolume/seriesVolumePre"></line>
<line id="articleInCollectedVolume/seriesVolumePost"></line>
<line id="articleInCollectedVolume/url">Weitere Informationen</line>
<line id="articleInCollectedVolume/year">Jahr</line>
<line id="articleInCollectedVolume/abstract">Zusammenfassung</line>
<line id="articleInCollectedVolume/authors">Autorinnen/Autoren</line>
<line id="articleInCollectedVolume/author">Autorin/Autor</line>
<line id="articleInCollectedVolume/chapter">Kapitel</line>
<line id="articleInCollectedVolume/collectedVolume">In Sammelband</line>
<line id="articleInCollectedVolume/isbn">ISBN</line>
<line id="articleInCollectedVolume/languageOfPublication">Sprache</line>
<line id="articleInCollectedVolume/misc"></line>
<line id="articleInCollectedVolume/pages">Seiten</line>
<line id="articleInCollectedVolume/pagesSeparator"> bis </line>
<line id="articleInCollectedVolume/publisher">Verlag</line>
<line id="articleInCollectedVolume/reviewed">Referierter Artikel</line>
<line id="articleInCollectedVolume/reviewed/yes">Ja</line>
<line id="articleInCollectedVolume/reviewed/no">Nein</line>
<line id="articleInCollectedVolume/series">Erschienen in der Reihe</line>
<line id="articleInCollectedVolume/seriesVolumePre"></line>
<line id="articleInCollectedVolume/seriesVolumePost"></line>
<line id="articleInCollectedVolume/url">Weitere Informationen</line>
<line id="articleInCollectedVolume/year">Jahr</line>
<line id="articleInCollectedVolume/yearFirstPublished">Erste Veröffentlichung</line>
<line id="articleInJournal/abstract">Zusammenfassung</line>
<line id="articleInJournal/authors">Autorinnen/Autoren</line>
<line id="articleInJournal/author">Autorin/Autor</line>
<line id="articleInJournal/issn">ISSN</line>
<line id="articleInJournal/journal">Journal</line>
<line id="articleInJournal/misc"></line>
<line id="articleInJournal/pages">Seiten</line>
<line id="articleInJournal/pagesSeparator"> bis </line>
<line id="articleInJournal/publicationDate">Publikationsdatum</line>
<line id="articleInJournal/url">Weitere Informationen</line>
<line id="articleInJournal/issue">Ausgabe</line>
<line id="articleInJournal/volume">Jahrgang</line>
<line id="articleInJournal/year">Jahr</line>
<line id="articleInJournal/articles">Beiträge</line>
<line id="articleInJournal/reviewed">Referierter Artikel</line>
<line id="articleInJournal/abstract">Zusammenfassung</line>
<line id="articleInJournal/articles">Beiträge</line>
<line id="articleInJournal/authors">Autorinnen/Autoren</line>
<line id="articleInJournal/author">Autorin/Autor</line>
<line id="articleInJournal/issn">ISSN</line>
<line id="articleInJournal/issue">Ausgabe</line>
<line id="articleInJournal/journal">Journal</line>
<line id="articleInJournal/languageOfPublication">Sprache</line>
<line id="articleInJournal/misc"></line>
<line id="articleInJournal/pages">Seiten</line>
<line id="articleInJournal/pagesSeparator"> bis </line>
<line id="articleInJournal/publicationDate">Publikationsdatum</line>
<line id="articleInJournal/reviewed">Referierter Artikel</line>
<line id="articleInJournal/url">Weitere Informationen</line>
<line id="articleInJournal/volume">Jahrgang</line>
<line id="articleInJournal/year">Jahr</line>
<line id="articleInJournal/yearFirstPublished">Erste Veröffentlichung</line>
<line id="collectedVolume/abstract">Zusammenfassung</line>
<line id="collectedVolume/articles">Artikel</line>
<line id="collectedVolume/authors">Herausgeberinnen/Herausgeber</line>
<line id="collectedVolume/author">Herausgeberin/Herausgeber</line>
<line id="collectedVolume/edition">Auflage</line>
<line id="collectedVolume/isbn">ISBN</line>
<line id="collectedVolume/misc"></line>
<line id="collectedVolume/numberOfPages">Anzahl der Seiten</line>
<line id="collectedVolume/numberOfVolumes">Anzahl der Bände</line>
<line id="collectedVolume/publisher">Verlag</line>
<line id="collectedVolume/reviewed">Referiert</line>
<line id="collectedVolume/series">Reihe</line>
<line id="collectedVolume/seriesVolumePre"></line>
<line id="collectedVolume/seriesVolumePost"></line>
<line id="collectedVolume/url">Weitere Informationen</line>
<line id="collectedVolume/volume">Band</line>
<line id="collectedVolume/year">Jahr</line>
<line id="collectedVolume/abstract">Zusammenfassung</line>
<line id="collectedVolume/articles">Artikel</line>
<line id="collectedVolume/authors">Herausgeberinnen/Herausgeber</line>
<line id="collectedVolume/author">Herausgeberin/Herausgeber</line>
<line id="collectedVolume/edition">Auflage</line>
<line id="collectedVolume/isbn">ISBN</line>
<line id="collectedVolume/languageOfPublication">Sprache</line>
<line id="collectedVolume/misc"></line>
<line id="collectedVolume/numberOfPages">Anzahl der Seiten</line>
<line id="collectedVolume/numberOfVolumes">Anzahl der Bände</line>
<line id="collectedVolume/publisher">Verlag</line>
<line id="collectedVolume/reviewed">Referiert</line>
<line id="collectedVolume/series">Reihe</line>
<line id="collectedVolume/seriesVolumePre"></line>
<line id="collectedVolume/seriesVolumePost"></line>
<line id="collectedVolume/url">Weitere Informationen</line>
<line id="collectedVolume/volume">Band</line>
<line id="collectedVolume/year">Jahr</line>
<line id="collectedVolume/yearFirstPublished">Erste Veröffentlichung</line>
<line id="expertise/abstract">Zusammenfassung</line>
<line id="expertise/authors">Autorinnen/Autoren</line>
<line id="expertise/author">Autorin/Autor</line>
<line id="expertise/misc"></line>
<line id="expertise/numberOfPages">Anzahl der Seiten</line>
<line id="expertise/orderer">Auftraggeber</line>
<line id="expertise/organization">Organisation</line>
<line id="expertise/place">Erscheinungsort</line>
<line id="expertise/series">Reihe</line>
<line id="expertise/seriesPre"></line>
<line id="expertise/seriesPost"></line>
<line id="expertise/url">Weitere Informationen</line>
<line id="expertise/year">Jahr</line>
<line id="expertise/abstract">Zusammenfassung</line>
<line id="expertise/authors">Autorinnen/Autoren</line>
<line id="expertise/author">Autorin/Autor</line>
<line id="expertise/languageOfPublication">Sprache</line>
<line id="expertise/misc"></line>
<line id="expertise/numberOfPages">Anzahl der Seiten</line>
<line id="expertise/orderer">Auftraggeber</line>
<line id="expertise/organization">Organisation</line>
<line id="expertise/place">Erscheinungsort</line>
<line id="expertise/series">Reihe</line>
<line id="expertise/seriesPre"></line>
<line id="expertise/seriesPost"></line>
<line id="expertise/url">Weitere Informationen</line>
<line id="expertise/year">Jahr</line>
<line id="expertise/yearFirstPublished">Erste Veröffentlichung</line>
<line id="greyLiterature/abstract">Zusammenfassung</line>
<line id="greyLiterature/authors">Autorinnen/Autoren</line>
<line id="greyLiterature/author">Autorin/Autor</line>
<line id="greyLiterature/misc"></line>
<line id="greyLiterature/number">Nummer</line>
<line id="greyLiterature/numberOfPages">Anzahl der Seiten</line>
<line id="greyLiterature/organization">Organisation</line>
<line id="greyLiterature/place">Ort</line>
<line id="greyLiterature/pages">Seiten</line>
<line id="greyLiterature/pagesSeparator"> bis </line>
<line id="greyLiterature/series">Reihe</line>
<line id="greyLiterature/seriesPre"></line>
<line id="greyLiterature/seriesPost"></line>
<line id="greyLiterature/url">Weitere Informationen</line>
<line id="greyLiterature/year">Jahr</line>
<line id="greyLiterature/abstract">Zusammenfassung</line>
<line id="greyLiterature/authors">Autorinnen/Autoren</line>
<line id="greyLiterature/author">Autorin/Autor</line>
<line id="greyLiterature/languageOfPublication">Sprache</line>
<line id="greyLiterature/misc"></line>
<line id="greyLiterature/number">Nummer</line>
<line id="greyLiterature/numberOfPages">Anzahl der Seiten</line>
<line id="greyLiterature/organization">Organisation</line>
<line id="greyLiterature/place">Ort</line>
<line id="greyLiterature/pages">Seiten</line>
<line id="greyLiterature/pagesSeparator"> bis </line>
<line id="greyLiterature/series">Reihe</line>
<line id="greyLiterature/seriesPre"></line>
<line id="greyLiterature/seriesPost"></line>
<line id="greyLiterature/url">Weitere Informationen</line>
<line id="greyLiterature/year">Jahr</line>
<line id="greyLiterature/yearFirstPublished">Erste Veröffentlichung</line>
<line id="inProceedings/abstract">Zusammenfassung</line>
<line id="inProceedings/authors">Autorinnen/Autoren</line>
<line id="inProceedings/author">Autorin/Autor</line>
<line id="inProceedings/misc"></line>
<line id="inProceedings/pages">Seiten</line>
<line id="inProceedings/pagesSeparator"> bis </line>
<line id="inProceedings/proceedings">In Tagungsband</line>
<line id="inProceedings/series">Reihe</line>
<line id="inProceedings/seriesPre"></line>
<line id="inProceedings/seriesPost"></line>
<line id="inProceedings/url">Weitere Informationen</line>
<line id="inProceedings/year">Jahr</line>
<line id="inProceedings/abstract">Zusammenfassung</line>
<line id="inProceedings/authors">Autorinnen/Autoren</line>
<line id="inProceedings/author">Autorin/Autor</line>
<line id="inProceedings/languageOfPublication">Sprache</line>
<line id="inProceedings/misc"></line>
<line id="inProceedings/pages">Seiten</line>
<line id="inProceedings/pagesSeparator"> bis </line>
<line id="inProceedings/proceedings">In Tagungsband</line>
<line id="inProceedings/series">Reihe</line>
<line id="inProceedings/seriesPre"></line>
<line id="inProceedings/seriesPost"></line>
<line id="inProceedings/url">Weitere Informationen</line>
<line id="inProceedings/year">Jahr</line>
<line id="inProceedings/yearFirstPublished">Erste Veröffentlichung</line>
<line id="internetArticle/abstract">Zusammenfassung</line>
<line id="internetArticle/authors">Autorinnen/Autoren</line>
<line id="internetArticle/authors">Autorin/Autor</line>
<line id="internetArticle/edition">Auflage</line>
<line id="internetArticle/issn">ISSN</line>
<line id="internetArticle/misc"></line>
<line id="internetArticle/number">Nummer</line>
<line id="internetArticle/numberOfPages">Anzahl der Seiten</line>
<line id="internetArticle/organization">Organisation</line>
<line id="internetArticle/place">Erscheinungsort</line>
<line id="internetArticle/publicationDate">Erscheinungsdatum</line>
<line id="internetArticle/series">Reihe</line>
<line id="internetArticle/seriesPre"></line>
<line id="internetArticle/seriesPost"></line>
<line id="internetArticle/year">Jahr</line>
<line id="internetArticle/abstract">Zusammenfassung</line>
<line id="internetArticle/authors">Autorinnen/Autoren</line>
<line id="internetArticle/authors">Autorin/Autor</line>
<line id="internetArticle/edition">Auflage</line>
<line id="internetArticle/issn">ISSN</line
<line id="internetArticle/languageOfPublication">Sprache</line>
<line id="internetArticle/misc"></line>
<line id="internetArticle/number">Nummer</line>
<line id="internetArticle/numberOfPages">Anzahl der Seiten</line>
<line id="internetArticle/organization">Organisation</line>
<line id="internetArticle/place">Erscheinungsort</line>
<line id="internetArticle/publicationDate">Erscheinungsdatum</line>
<line id="internetArticle/series">Reihe</line>
<line id="internetArticle/seriesPre"></line>
<line id="internetArticle/seriesPost"></line>
<line id="internetArticle/year">Jahr</line>
<line id="internetArticle/yearFirstPublished">Erste Veröffentlichung</line>
<line id="journal/articles">Artikel in dieser Zeitschrift</line>
<line id="journal/issn">ISSN</line>
<line id="journal/periodOfPublication">Erscheinungszeitraum</line>
<line id="journal/periodOfPublicationYearsSeparator"> - </line>
<line id="journal/symbol">Kürzel</line>
<line id="journal/articles">Artikel in dieser Zeitschrift</line>
<line id="journal/issn">ISSN</line>
<line id="journal/periodOfPublication">Erscheinungszeitraum</line>
<line id="journal/periodOfPublicationYearsSeparator"> - </line>
<line id="journal/symbol">Kürzel</line>
<line id="monograph/abstract">Zusammenfassung</line>
<line id="monograph/authors">Autorinnen/Autoren</line>
<line id="monograph/author">Autorin/Autor</line>
<line id="monograph/edition">Auflage</line>
<line id="monograph/isbn">ISBN</line>
<line id="monograph/misc"></line>
<line id="monograph/numberOfPages">Anzahl der Seiten</line>
<line id="monograph/numberOfVolumes">Anzahl der Bände</line>
<line id="monograph/publisher">Verlag</line>
<line id="monograph/reviewed">Referiert</line>
<line id="monograph/series">Erschienen in der Reihe</line>
<line id="monograph/seriesPre"></line>
<line id="monograph/seriesPost"></line>
<line id="monograph/url">Weitere Informationen</line>
<line id="monograph/volume">Band</line>
<line id="monograph/year">Jahr</line>
<line id="monograph/abstract">Zusammenfassung</line>
<line id="monograph/authors">Autorinnen/Autoren</line>
<line id="monograph/author">Autorin/Autor</line>
<line id="monograph/edition">Auflage</line>
<line id="monograph/isbn">ISBN</line>
<line id="monograph/languageOfPublication">Sprache</line>
<line id="monograph/misc"></line>
<line id="monograph/numberOfPages">Anzahl der Seiten</line>
<line id="monograph/numberOfVolumes">Anzahl der Bände</line>
<line id="monograph/publisher">Verlag</line>
<line id="monograph/reviewed">Referiert</line>
<line id="monograph/series">Erschienen in der Reihe</line>
<line id="monograph/seriesPre"></line>
<line id="monograph/seriesPost"></line>
<line id="monograph/url">Weitere Informationen</line>
<line id="monograph/volume">Band</line>
<line id="monograph/year">Jahr</line>
<line id="monograph/yearFirstPublished">Erste Veröffentlichung</line>
<line id="proceedings/abstract">Zusammenfassung</line>
<line id="proceedings/authors">Autorinnen/Autoren</line>
<line id="proceedings/author">Autorin/Autor</line>
<line id="proceedings/dateOfConference">Termin der Konferenz</line>
<line id="proceedings/dateToOfConference"> bis </line>
<line id="proceedings/isbn">ISBN</line>
<line id="proceedings/misc"></line>
<line id="proceedings/nameOfConference">Konferenz</line>
<line id="proceedings/numberOfVolumes">Anzahl der Bände</line>
<line id="proceedings/numberOfPages">Anzahl der Seiten</line>
<line id="proceedings/papers">Beiträge</line>
<line id="proceedings/placeOfConference">Veranstaltungsort der Konferenz</line>
<line id="proceedings/publisher">Verlag</line>
<line id="proceedings/series">Reihe</line>
<line id="proceedings/url">Weitere Informationen</line>
<line id="proceedings/volume">Band</line>
<line id="proceedings/year">Jahr</line>
<line id="proceedings/abstract">Zusammenfassung</line>
<line id="proceedings/authors">Autorinnen/Autoren</line>
<line id="proceedings/author">Autorin/Autor</line>
<line id="proceedings/dateOfConference">Termin der Konferenz</line>
<line id="proceedings/dateToOfConference"> bis </line>
<line id="proceedings/isbn">ISBN</line>
<line id="proceedings/languageOfPublication">Sprache</line>
<line id="proceedings/misc"></line>
<line id="proceedings/nameOfConference">Konferenz</line>
<line id="proceedings/numberOfVolumes">Anzahl der Bände</line>
<line id="proceedings/numberOfPages">Anzahl der Seiten</line>
<line id="proceedings/papers">Beiträge</line>
<line id="proceedings/placeOfConference">Veranstaltungsort der Konferenz</line>
<line id="proceedings/publisher">Verlag</line>
<line id="proceedings/series">Reihe</line>
<line id="proceedings/url">Weitere Informationen</line>
<line id="proceedings/volume">Band</line>
<line id="proceedings/year">Jahr</line>
<line id="proceedings/yearFirstPublished">Erste Veröffentlichung</line>
<line id="publisher/place">Ort</line>b
<line id="publisher/place">Ort</line>b
<line id="review/abstract">Zusammenfassung</line>
<line id="review/authors">Autorinnen/Autoren</line>
<line id="review/author">Autorin/Autor</line>
<line id="review/issn">ISSN</line>
<line id="review/issue">Ausgabe</line>
<line id="review/journal">Zeitschrift</line>
<line id="review/misc"></line>
<line id="review/pages">Seiten</line>
<line id="review/publicationDate">Erscheinungsdatum</line>
<line id="review/url">Weitere Informationen</line>
<line id="review/volume">Jahrgang</line>
<line id="review/year">Jahr</line>
<line id="review/abstract">Zusammenfassung</line>
<line id="review/authors">Autorinnen/Autoren</line>
<line id="review/author">Autorin/Autor</line>
<line id="review/issn">ISSN</line>
<line id="review/issue">Ausgabe</line>
<line id="review/journal">Zeitschrift</line>
<line id="review/languageOfPublication">Sprache</line>
<line id="review/misc"></line>
<line id="review/pages">Seiten</line>
<line id="review/publicationDate">Erscheinungsdatum</line>
<line id="review/url">Weitere Informationen</line>
<line id="review/volume">Jahrgang</line>
<line id="review/year">Jahr</line>
<line id="review/yearFirstPublished">Erste Veröffentlichung</line>
<line id="series/abstract">Über die Reihe</line>
<line id="series/editors">Herausgeber der Reihe</line>
<line id="series/editorsPeriodSeparator"> - </line>
<line id="series/filters/heading">Bände der Reihe filtern</line>
<line id="series/filters/yearOfPublication/label">Erscheinungsjahr</line>
<line id="series/filters/yearOfPublication/all">Alle</line>
<line id="series/filters/title/label">Titel</line>
<line id="series/filters/author/label">Autor (Nachname)</line>
<line id="series/volumes">Bände der Reihe</line>
<line id="series/abstract">Über die Reihe</line>
<line id="series/editors">Herausgeber der Reihe</line>
<line id="series/editorsPeriodSeparator"> - </line>
<line id="series/filters/heading">Bände der Reihe filtern</line>
<line id="series/filters/yearOfPublication/label">Erscheinungsjahr</line>
<line id="series/filters/yearOfPublication/all">Alle</line>
<line id="series/filters/title/label">Titel</line>
<line id="series/filters/author/label">Autor (Nachname)</line>
<line id="series/volumes">Bände der Reihe</line>
<line id="workingPaper/abstract">Zusammenfassung</line>
<line id="workingPaper/author">Autorin/Autor</line>
<line id="workingPaper/authors">Autorinnen/Autoren</line>
<line id="workingPaper/misc"></line>
<line id="workingPaper/number">Nummer</line>
<line id="workingPaper/numberOfPages">Anzahl der Seiten</line>
<line id="workingPaper/organization">Organisation</line>
<line id="workingPaper/place">Ort</line>
<line id="workingPaper/series">Reihe</line>
<line id="workingPaper/seriesPre"></line>
<line id="workingPaper/seriesPost"></line>
<line id="workingPaper/year">Jahr</line>
<line id="workingPaper/abstract">Zusammenfassung</line>
<line id="workingPaper/author">Autorin/Autor</line>
<line id="workingPaper/authors">Autorinnen/Autoren</line>
<line id="workingPaper/languageOfPublication">Sprache</line>
<line id="workingPaper/misc"></line>
<line id="workingPaper/number">Nummer</line>
<line id="workingPaper/numberOfPages">Anzahl der Seiten</line>
<line id="workingPaper/organization">Organisation</line>
<line id="workingPaper/place">Ort</line>
<line id="workingPaper/series">Reihe</line>
<line id="workingPaper/seriesPre"></line>
<line id="workingPaper/seriesPost"></line>
<line id="workingPaper/year">Jahr</line>
<line id="workingPaper/yearFirstPublished">Erste Veröffentlichung</line>
</translations>

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright: 2014 Jens Pelzetter
This file is part of Mandalay.
Mandalay is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Mandalay is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
-->
<translations>
<line id="lang">English</line>
<line id="version">0.1</line>
<line id="de">Deutsch</line>
<line id="de_DE">Deutsch</line>
<line id="en">Englisch</line>
<line id="en_GB">Englisch</line>
<line id="en_US">Englisch</line>
<line id="fr">Französisch</line>
<line id="it">Italienisch</line>
</translations>

View File

@ -20,226 +20,248 @@
-->
<translations>
<line id="lang">English</line>
<line id="version">0.8</line>
<line id="lang">English</line>
<line id="version">0.8</line>
<line id="moreButton">more »</line>
<line id="moreButtonTitle">read more</line>
<line id="moreButton">more »</line>
<line id="moreButtonTitle">read more</line>
<line id="orderByText">Sort publications by</line>
<line id="orderByTitle">Title</line>
<line id="orderByYear">Year of publication</line>
<line id="orderByText">Sort publications by</line>
<line id="orderByTitle">Title</line>
<line id="orderByYear">Year of publication</line>
<line id="collectedVolumePreText">In: </line>
<line id="editorText"> (Editor)</line>
<line id="isbnPreText">(ISBN: </line>
<line id="isbnPostText">) </line>
<line id="collectedVolumePreText">In: </line>
<line id="editorText"> (Editor)</line>
<line id="isbnPreText">(ISBN: </line>
<line id="isbnPostText">) </line>
<line id="inSeriesPreText">Series: </line>
<line id="inSeriesEditorPreText">Edited by</line>
<line id="inSeriesPreText">Series: </line>
<line id="inSeriesEditorPreText">Edited by</line>
<line id="collectedVolumePreText">in: </line>
<line id="journalPreText">in: </line>
<line id="pagesPreText">p. </line>
<line id="pagesBetweenText">-</line>
<line id="proceedingsPreText">in: </line>
<line id="wpNumberPreText">No. </line>
<line id="collectedVolumePreText">in: </line>
<line id="journalPreText">in: </line>
<line id="pagesPreText">p. </line>
<line id="pagesBetweenText">-</line>
<line id="proceedingsPreText">in: </line>
<line id="wpNumberPreText">No. </line>
<line id="exportLinks/publication/heading">Download reference as</line>
<line id="exportLinks/category/heading">Download publication list as</line>
<line id="downloadReference">Download reference as</line>
<line id="bibtex">BibTeX</line>
<line id="downloadAsBibtex">Download as BibTeX</line>
<line id="ris">RIS</line>
<line id="downloadAsRis">Download as RIS</line>
<line id="BibTeX">BibTeX</line>
<line id="RIS">RIS</line>
<line id="exportLinks/publication/heading">Download reference as</line>
<line id="exportLinks/category/heading">Download publication list as</line>
<line id="downloadReference">Download reference as</line>
<line id="bibtex">BibTeX</line>
<line id="downloadAsBibtex">Download as BibTeX</line>
<line id="ris">RIS</line>
<line id="downloadAsRis">Download as RIS</line>
<line id="BibTeX">BibTeX</line>
<line id="RIS">RIS</line>
<line id="librarySignatures/heading">Libraries</line>
<line id="librarySignatures/heading">Libraries</line>
<line id="articleInCollectedVolume/abstract">Abstract</line>
<line id="articleInCollectedVolume/authors">Authors</line>
<line id="articleInCollectedVolume/author">Author</line>
<line id="articleInCollectedVolume/chapter">Chapter</line>
<line id="articleInCollectedVolume/collectedVolume">Collected volume</line>
<line id="articleInCollectedVolume/isbn">ISBN</line>
<line id="articleInCollectedVolume/misc"></line>
<line id="articleInCollectedVolume/pages">Pages</line>
<line id="articleInCollectedVolume/pagesSeparator"> to </line>
<line id="articleInCollectedVolume/publisher">Publisher</line>
<line id="articleInCollectedVolume/reviewed">Reviewed article</line>
<line id="articleInCollectedVolume/reviewed/yes">Yes</line>
<line id="articleInCollectedVolume/reviewed/no">No</line>
<line id="articleInCollectedVolume/series">In series</line>
<line id="articleInCollectedVolume/seriesPre"></line>
<line id="articleInCollectedVolume/seriesPost"></line>
<line id="articleInCollectedVolume/url">Further informations</line>
<line id="articleInCollectedVolume/year">Year</line>
<line id="articleInCollectedVolume/abstract">Abstract</line>
<line id="articleInCollectedVolume/authors">Authors</line>
<line id="articleInCollectedVolume/author">Author</line>
<line id="articleInCollectedVolume/chapter">Chapter</line>
<line id="articleInCollectedVolume/collectedVolume">Collected volume</line>
<line id="articleInCollectedVolume/isbn">ISBN</line>
<line id="articleInCollectedVolume/languageOfPublication">Language</line>
<line id="articleInCollectedVolume/misc"></line>
<line id="articleInCollectedVolume/pages">Pages</line>
<line id="articleInCollectedVolume/pagesSeparator"> to </line>
<line id="articleInCollectedVolume/publisher">Publisher</line>
<line id="articleInCollectedVolume/reviewed">Reviewed article</line>
<line id="articleInCollectedVolume/reviewed/yes">Yes</line>
<line id="articleInCollectedVolume/reviewed/no">No</line>
<line id="articleInCollectedVolume/series">In series</line>
<line id="articleInCollectedVolume/seriesPre"></line>
<line id="articleInCollectedVolume/seriesPost"></line>
<line id="articleInCollectedVolume/url">Further informations</line>
<line id="articleInCollectedVolume/year">Year</line>
<line id="articleInCollectedVolume/yearFirstPublished">First published</line>
<line id="articleInJournal/abstract">Abstract</line>
<line id="articleInJournal/authors">Authors</line>
<line id="articleInJournal/author">Author</line>
<line id="articleInJournal/issn">ISSN</line>
<line id="articleInJournal/journal">Journal</line>
<line id="articleInJournal/misc"></line>
<line id="articleInJournal/pages">Pages</line>
<line id="articleInJournal/pagesSeparator"> to </line>
<line id="articleInJournal/publicationDate">Publication date</line>
<line id="articleInJournal/url">Further informations</line>
<line id="articleInJournal/issue">Issue</line>
<line id="articleInJournal/volume">Volume</line>
<line id="articleInJournal/year">Year</line>
<line id="articleInJournal/articles">Articles</line>
<line id="articleInJournal/reviewed">Reviewed article</line>
<line id="articleInJournal/abstract">Abstract</line>
<line id="articleInJournal/articles">Articles</line>
<line id="articleInJournal/authors">Authors</line>
<line id="articleInJournal/author">Author</line>
<line id="articleInJournal/issn">ISSN</line>
<line id="articleInJournal/journal">Journal</line>
<line id="articleInJournal/languageOfPublication">Language</line>
<line id="articleInJournal/misc"></line>
<line id="articleInJournal/pages">Pages</line>
<line id="articleInJournal/pagesSeparator"> to </line>
<line id="articleInJournal/publicationDate">Publication date</line>
<line id="articleInJournal/reviewed">Reviewed article</line>
<line id="articleInJournal/url">Further informations</line>
<line id="articleInJournal/issue">Issue</line>
<line id="articleInJournal/volume">Volume</line>
<line id="articleInJournal/year">Year</line>
<line id="articleInJournal/yearFirstPublished">First published</line>
<line id="collectedVolume/abstract">Abstract</line>
<line id="collectedVolume/articles">Articles</line>
<line id="collectedVolume/authors">Editors</line>
<line id="collectedVolume/author">Editor</line>
<line id="collectedVolume/edition">Edition</line>
<line id="collectedVolume/isbn">ISBN</line>
<line id="collectedVolume/misc"></line>
<line id="collectedVolume/numberOfPages">Number of pages</line>
<line id="collectedVolume/numberOfVolumes">Number of volumes</line>
<line id="collectedVolume/publisher">Publisher</line>
<line id="collectedVolume/reviewed">Reviewed</line>
<line id="collectedVolume/series">Series</line>
<line id="collectedVolume/seriesPre"></line>
<line id="collectedVolume/seriesPost"></line>
<line id="collectedVolume/url">Further informations</line>
<line id="collectedVolume/volume">Volume</line>
<line id="collectedVolume/year">Year</line>
<line id="collectedVolume/abstract">Abstract</line>
<line id="collectedVolume/articles">Articles</line>
<line id="collectedVolume/authors">Editors</line>
<line id="collectedVolume/author">Editor</line>
<line id="collectedVolume/edition">Edition</line>
<line id="collectedVolume/isbn">ISBN</line>
<line id="collectedVolume/languageOfPublication">Language</line>
<line id="collectedVolume/misc"></line>
<line id="collectedVolume/numberOfPages">Number of pages</line>
<line id="collectedVolume/numberOfVolumes">Number of volumes</line>
<line id="collectedVolume/publisher">Publisher</line>
<line id="collectedVolume/reviewed">Reviewed</line>
<line id="collectedVolume/series">Series</line>
<line id="collectedVolume/seriesPre"></line>
<line id="collectedVolume/seriesPost"></line>
<line id="collectedVolume/url">Further informations</line>
<line id="collectedVolume/volume">Volume</line>
<line id="collectedVolume/year">Year</line>
<line id="collectedVolume/yearFirstPublished">First published</line>
<line id="expertise/abstract">Abstract</line>
<line id="expertise/authors">Authors</line>
<line id="expertise/author">Author</line>
<line id="expertise/misc">Miscellaneous</line>
<line id="expertise/numberOfPages">Number of pages</line>
<line id="expertise/orderer">Orderer</line>
<line id="expertise/organization">Organization</line>
<line id="expertise/place">Place</line>
<line id="expertise/series">Series</line>
<line id="expertise/seriesPre"></line>
<line id="expertise/seriesPost"></line>
<line id="expertise/url">Further informations</line>
<line id="expertise/year">Year</line>
<line id="expertise/abstract">Abstract</line>
<line id="expertise/authors">Authors</line>
<line id="expertise/author">Author</line>
<line id="expertise/languageOfPublication">Language</line>
<line id="expertise/misc">Miscellaneous</line>
<line id="expertise/numberOfPages">Number of pages</line>
<line id="expertise/orderer">Orderer</line>
<line id="expertise/organization">Organization</line>
<line id="expertise/place">Place</line>
<line id="expertise/series">Series</line>
<line id="expertise/seriesPre"></line>
<line id="expertise/seriesPost"></line>
<line id="expertise/url">Further informations</line>
<line id="expertise/year">Year</line>
<line id="expertise/yearFirstPublished">First published</line>
<line id="greyLiterature/abstract">Abstract</line>
<line id="greyLiterature/authors">Authors</line>
<line id="greyLiterature/author">Author</line>
<line id="greyLiterature/misc">Miscellaneous</line>
<line id="greyLiterature/number">Number</line>
<line id="greyLiterature/numberOfPages">Number of pages</line>
<line id="greyLiterature/organization">Organization</line>
<line id="greyLiterature/place">Ort</line>
<line id="greyLiterature/pages">Pages</line>
<line id="greyLiterature/pagesSeparator"> to </line>
<line id="greyLiterature/series">Series</line>
<line id="greyLiterature/seriesPre"></line>
<line id="greyLiterature/seriesPost"></line>
<line id="greyLiterature/url">Further informations</line>
<line id="greyLiterature/year">Year</line>
<line id="greyLiterature/abstract">Abstract</line>
<line id="greyLiterature/authors">Authors</line>
<line id="greyLiterature/author">Author</line>
<line id="greyLiterature/languageOfPublication">Language</line>
<line id="greyLiterature/misc">Miscellaneous</line>
<line id="greyLiterature/number">Number</line>
<line id="greyLiterature/numberOfPages">Number of pages</line>
<line id="greyLiterature/organization">Organization</line>
<line id="greyLiterature/place">Ort</line>
<line id="greyLiterature/pages">Pages</line>
<line id="greyLiterature/pagesSeparator"> to </line>
<line id="greyLiterature/series">Series</line>
<line id="greyLiterature/seriesPre"></line>
<line id="greyLiterature/seriesPost"></line>
<line id="greyLiterature/url">Further informations</line>
<line id="greyLiterature/year">Year</line>
<line id="greyLiterature/yearFirstPublished">First published</line>
<line id="inProceedings/abstract">Abstract</line>
<line id="inProceedings/authors">Authors</line>
<line id="inProceedings/author">Author</line>
<line id="inProceedings/misc">Miscellaneous</line>
<line id="inProceedings/pages">Pages</line>
<line id="inProceedings/proceedings">In Proceedings</line>
<line id="inProceedings/series">Series</line>
<line id="inProceedings/seriesPre"></line>
<line id="inProceedings/seriesPost"></line>
<line id="inProceedings/url">Further informations</line>
<line id="inProceedings/volume">Volume</line>
<line id="inProceedings/year">Year</line>
<line id="inProceedings/abstract">Abstract</line>
<line id="inProceedings/authors">Authors</line>
<line id="inProceedings/author">Author</line>
<line id="inProceedings/languageOfPublication">Language</line>
<line id="inProceedings/misc">Miscellaneous</line>
<line id="inProceedings/pages">Pages</line>
<line id="inProceedings/proceedings">In Proceedings</line>
<line id="inProceedings/series">Series</line>
<line id="inProceedings/seriesPre"></line>
<line id="inProceedings/seriesPost"></line>
<line id="inProceedings/url">Further informations</line>
<line id="inProceedings/volume">Volume</line>
<line id="inProceedings/year">Year</line>
<line id="inProceedings/yearFirstPublished">First published</line>
<line id="internetArticle/abstract">Abstract</line>
<line id="internetArticle/authors">Authors</line>
<line id="internetArticle/author">Author</line>
<line id="internetArticle/edition">Edition</line>
<line id="internetArticle/issn">ISSN</line>
<line id="internetArticle/misc">Miscellaneous</line>
<line id="internetArticle/number">Number</line>
<line id="internetArticle/numberOfPages">Number of pages</line>
<line id="internetArticle/organization">Organization</line>
<line id="internetArticle/place">Place</line>
<line id="internetArticle/publicationDate">Publication date</line>
<line id="internetArticle/series">Series</line>
<line id="internetArticle/seriesPre"></line>
<line id="internetArticle/seriesPost"></line>
<line id="internetArticle/year">Year</line>
<line id="internetArticle/abstract">Abstract</line>
<line id="internetArticle/authors">Authors</line>
<line id="internetArticle/author">Author</line>
<line id="internetArticle/edition">Edition</line>
<line id="internetArticle/issn">ISSN</line>
<line id="internetArticle/languageOfPublication">Language</line>
<line id="internetArticle/misc">Miscellaneous</line>
<line id="internetArticle/number">Number</line>
<line id="internetArticle/numberOfPages">Number of pages</line>
<line id="internetArticle/organization">Organization</line>
<line id="internetArticle/place">Place</line>
<line id="internetArticle/publicationDate">Publication date</line>
<line id="internetArticle/series">Series</line>
<line id="internetArticle/seriesPre"></line>
<line id="internetArticle/seriesPost"></line>
<line id="internetArticle/year">Year</line>
<line id="internetArticle/yearFirstPublished">First published</line>
<line id="journal/articles">Articles of this journal</line>
<line id="journal/issn">ISSN</line>
<line id="journal/periodOfPublication">Period of publication</line>
<line id="journal/periodOfPublicationYearsSeparator"> - </line>
<line id="journal/symbol">Symbol</line>
<line id="journal/articles">Articles of this journal</line>
<line id="journal/issn">ISSN</line>
<line id="journal/periodOfPublication">Period of publication</line>
<line id="journal/periodOfPublicationYearsSeparator"> - </line>
<line id="journal/symbol">Symbol</line>
<line id="monograph/abstract">Abstract</line>
<line id="monograph/authors">Authors</line>
<line id="monograph/author">Author</line>
<line id="monograph/edition">Edition</line>
<line id="monograph/isbn">ISBN</line>
<line id="monograph/misc">Miscellaneous</line>
<line id="monograph/numberOfPages">Number of pages</line>
<line id="monograph/numberOfVolumes">Number of volumes</line>
<line id="monograph/publisher">Publisher</line>
<line id="monograph/reviewed">Reviewed</line>
<line id="monograph/series">In series</line>
<line id="monograph/url">Further informations</line>
<line id="monograph/volume">Volume</line>
<line id="monograph/year">Year</line>
<line id="monograph/abstract">Abstract</line>
<line id="monograph/authors">Authors</line>
<line id="monograph/author">Author</line>
<line id="monograph/edition">Edition</line>
<line id="monograph/isbn">ISBN</line>
<line id="monograph/misc">Miscellaneous</line>
<line id="monograph/languageOfPublication">Language</line>
<line id="monograph/numberOfPages">Number of pages</line>
<line id="monograph/numberOfVolumes">Number of volumes</line>
<line id="monograph/publisher">Publisher</line>
<line id="monograph/reviewed">Reviewed</line>
<line id="monograph/series">In series</line>
<line id="monograph/url">Further informations</line>
<line id="monograph/volume">Volume</line>
<line id="monograph/year">Year</line>
<line id="monograph/yearFirstPublished">First published</line>
<line id="proceedings/abstract">Abstract</line>
<line id="proceedings/authors">Authors</line>
<line id="proceedings/author">Author</line>
<line id="proceedings/dateOfConference">Date of conference</line>
<line id="proceedings/isbn">ISBN</line>
<line id="proceedings/misc">Miscellaneous</line>
<line id="proceedings/nameOfConference">Conference</line>
<line id="proceedings/numberOfVolumes">Number of volumes</line>
<line id="proceedings/numberOfPages">Number of pages</line>
<line id="proceedings/papers">Papers</line>
<line id="proceedings/placeOfConference">Place of conference</line>
<line id="proceedings/publisher">Publisher</line>
<line id="proceedings/series">Series</line>
<line id="proceedings/seriesPre"></line>
<line id="proceedings/seriesPost"></line>
<line id="proceedings/url">Further informations</line>
<line id="proceedings/volume">Volume</line>
<line id="proceedings/year">Year</line>
<line id="proceedings/abstract">Abstract</line>
<line id="proceedings/authors">Authors</line>
<line id="proceedings/author">Author</line>
<line id="proceedings/dateOfConference">Date of conference</line>
<line id="proceedings/isbn">ISBN</line>
<line id="proceedings/languageOfPublication">Language</line>
<line id="proceedings/misc">Miscellaneous</line>
<line id="proceedings/nameOfConference">Conference</line>
<line id="proceedings/numberOfVolumes">Number of volumes</line>
<line id="proceedings/numberOfPages">Number of pages</line>
<line id="proceedings/papers">Papers</line>
<line id="proceedings/placeOfConference">Place of conference</line>
<line id="proceedings/publisher">Publisher</line>
<line id="proceedings/series">Series</line>
<line id="proceedings/seriesPre"></line>
<line id="proceedings/seriesPost"></line>
<line id="proceedings/url">Further informations</line>
<line id="proceedings/volume">Volume</line>
<line id="proceedings/year">Year</line>
<line id="proceedings/yearFirstPublished">First published</line>
<line id="publisher/place">Place</line>
<line id="publisher/place">Place</line>
<line id="review/abstract">Abstract</line>
<line id="review/authors">Authors</line>
<line id="review/author">Author</line>
<line id="review/issn">ISSN</line>
<line id="review/issue">Year</line>
<line id="review/journal">Journal</line>
<line id="review/misc">Miscellaneous</line>
<line id="review/pages">Pages</line>
<line id="review/publicationDate">Publication date</line>
<line id="review/url">Further informations</line>
<line id="review/volume">Volume</line>
<line id="review/year">Year</line>
<line id="review/abstract">Abstract</line>
<line id="review/authors">Authors</line>
<line id="review/author">Author</line>
<line id="review/issn">ISSN</line>
<line id="review/issue">Year</line>
<line id="review/journal">Journal</line>
<line id="review/languageOfPublication">Language</line>
<line id="review/misc">Miscellaneous</line>
<line id="review/pages">Pages</line>
<line id="review/publicationDate">Publication date</line>
<line id="review/url">Further informations</line>
<line id="review/volume">Volume</line>
<line id="review/year">Year</line>
<line id="review/yearFirstPublished">First published</line>
<line id="series/abstract">About the series</line>
<line id="series/editors">Editors of the series</line>
<line id="series/editorsPeroidSeparator"> - </line>
<line id="series/volumes">Volumes of the series</line>
<line id="series/abstract">About the series</line>
<line id="series/editors">Editors of the series</line>
<line id="series/editorsPeroidSeparator"> - </line>
<line id="series/volumes">Volumes of the series</line>
<line id="workingPaper/abstract">Abstract</line>
<line id="workingPaper/author">Author</line>
<line id="workingPaper/authors">Authors</line>
<line id="workingPaper/misc">Miscellaneous</line>
<line id="workingPaper/number">Number</line>
<line id="workingPaper/numberOfPages">Number of pages</line>
<line id="workingPaper/organization">Organization</line>
<line id="workingPaper/place">Place</line>
<line id="workingPaper/series">Series</line>
<line id="workingPaper/seriesPre"></line>
<line id="workingPaper/seriesPost"></line>
<line id="workingPaper/year">Year</line>
<line id="workingPaper/abstract">Abstract</line>
<line id="workingPaper/author">Author</line>
<line id="workingPaper/authors">Authors</line>
<line id="workingPaper/languageOfPublication">Language</line>
<line id="workingPaper/misc">Miscellaneous</line>
<line id="workingPaper/number">Number</line>
<line id="workingPaper/numberOfPages">Number of pages</line>
<line id="workingPaper/organization">Organization</line>
<line id="workingPaper/place">Place</line>
<line id="workingPaper/series">Series</line>
<line id="workingPaper/seriesPre"></line>
<line id="workingPaper/seriesPost"></line>
<line id="workingPaper/year">Year</line>
<line id="workingPaper/yearFirstPublished">First published</line>
</translations>

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright: 2014 Jens Pelzetter
This file is part of Mandalay.
Mandalay is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
Mandalay is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Mandalay. If not, see <http://www.gnu.org/licenses/>.
-->
<translations>
<line id="lang">English</line>
<line id="version">0.1</line>
<line id="de">German</line>
<line id="de_DE">German</line>
<line id="en">English</line>
<line id="en_GB">English</line>
<line id="en_US">English</line>
<line id="fr">France</line>
<line id="it">Italian</line>
</translations>

View File

@ -21,274 +21,295 @@
<settings>
<setting id="setImage">true</setting>
<setting id="setImageCaption">true</setting>
<setting id="setImageMaxHeight">300</setting>
<setting id="setImageMaxWidth">300</setting>
<setting id="setImage">true</setting>
<setting id="setImageCaption">true</setting>
<setting id="setImageMaxHeight">300</setting>
<setting id="setImageMaxWidth">300</setting>
<setting id="authorListMode">list</setting>
<setting id="authorListMode">list</setting>
<setting id="formatDefFile">SciPublicationsDefaultFormat.xml</setting>
<setting id="formatDefFile">SciPublicationsDefaultFormat.xml</setting>
<setting id="detailView/linkAuthors">true</setting>
<setting id="detailView/linkAuthors">true</setting>
<setting id="listView/setLinkToDetails">false</setting>
<setting id="listView/setLeadText">true</setting>
<setting id="listView/setLeadTextLength">440</setting>
<setting id="listView/setMoreButton">true</setting>
<setting id="listView/linkAuthor">false</setting>
<setting id="listView/setLinkToDetails">false</setting>
<setting id="listView/setLeadText">true</setting>
<setting id="listView/setLeadTextLength">440</setting>
<setting id="listView/setMoreButton">true</setting>
<setting id="listView/linkAuthor">false</setting>
<setting id="linkView/setLinkToDetails">false</setting>
<setting id="linkView/setImageAndText">true</setting>
<setting id="linkView/setImage">true</setting>
<setting id="linkView/setImageMaxHeight">200</setting>
<setting id="linkView/setImageMaxWidth">200</setting>
<setting id="linkView/setImageCaption">false</setting>
<setting id="linkView/setDescription">true</setting>
<setting id="linkView/setDescriptionLength">0</setting>
<setting id="linkView/setMoreButton">false</setting>
<setting id="linkView/setLinkToDetails">false</setting>
<setting id="linkView/setImageAndText">true</setting>
<setting id="linkView/setImage">true</setting>
<setting id="linkView/setImageMaxHeight">200</setting>
<setting id="linkView/setImageMaxWidth">200</setting>
<setting id="linkView/setImageCaption">false</setting>
<setting id="linkView/setDescription">true</setting>
<setting id="linkView/setDescriptionLength">0</setting>
<setting id="linkView/setMoreButton">false</setting>
<!-- Settings for the SciPublicationsList -->
<setting id="list/setSortLinks">true</setting>
<!-- Settings for the SciPublicationsList -->
<setting id="list/setSortLinks">true</setting>
<!-- Settings for the detail view of an article in a collected volume -->
<setting id="articleInCollectedVolume/setImage">true</setting>
<setting id="articleInCollectedVolume/setImageCaption">true</setting>
<setting id="articleInCollectedVolume/setImageMaxHeight"></setting>
<setting id="articleInCollectedVolume/setImageMaxWidth"></setting>
<!-- Settings for the detail view of an article in a collected volume -->
<setting id="articleInCollectedVolume/setImage">true</setting>
<setting id="articleInCollectedVolume/setImageCaption">true</setting>
<setting id="articleInCollectedVolume/setImageMaxHeight"></setting>
<setting id="articleInCollectedVolume/setImageMaxWidth"></setting>
<setting id="articleInCollectedVolume/setAbstract">true</setting>
<setting id="articleInCollectedVolume/setAuthors">true</setting>
<setting id="articleInCollectedVolume/setChapter">true</setting>
<setting id="articleInCollectedVolume/setCollectedVolume">true</setting>
<setting id="articleInCollectedVolume/setIsbn">true</setting>
<setting id="articleInCollectedVolume/setMisc">true</setting>
<setting id="articleInCollectedVolume/setPages">true</setting>
<setting id="articleInCollectedVolume/setPublisher">true</setting>
<setting id="articleInCollectedVolume/setReviewed">true</setting>
<setting id="articleInCollectedVolume/setSeries">true</setting>
<setting id="articleInCollectedVolume/setSeriesLink">true</setting>
<setting id="articleInCollectedVolume/setSeriesVolume">true</setting>
<setting id="articleInCollectedVolume/setUrl">true</setting>
<setting id="articleInCollectedVolume/setYear">true</setting>
<setting id="articleInCollectedVolume/setAbstract">true</setting>
<setting id="articleInCollectedVolume/setAuthors">true</setting>
<setting id="articleInCollectedVolume/setChapter">true</setting>
<setting id="articleInCollectedVolume/setCollectedVolume">true</setting>
<setting id="articleInCollectedVolume/setIsbn">true</setting>
<setting id="articleInCollectedVolume/setLanguageOfPublication">true</setting>
<setting id="articleInCollectedVolume/setMisc">true</setting>
<setting id="articleInCollectedVolume/setPages">true</setting>
<setting id="articleInCollectedVolume/setPublisher">true</setting>
<setting id="articleInCollectedVolume/setReviewed">true</setting>
<setting id="articleInCollectedVolume/setSeries">true</setting>
<setting id="articleInCollectedVolume/setSeriesLink">true</setting>
<setting id="articleInCollectedVolume/setSeriesVolume">true</setting>
<setting id="articleInCollectedVolume/setUrl">true</setting>
<setting id="articleInCollectedVolume/setYear">true</setting>
<setting id="articleInCollectedVolume/setYearFirstPublished">true</setting>
<!-- Settings for the detail view of an article in a journal -->
<setting id="articleInJournal/setImage">true</setting>
<setting id="articleInJournal/setImageCaption">true</setting>
<setting id="articleInJournal/setImageMaxHeight"></setting>
<setting id="articleInJournal/setImageMaxWidth"></setting>
<!-- Settings for the detail view of an article in a journal -->
<setting id="articleInJournal/setImage">true</setting>
<setting id="articleInJournal/setImageCaption">true</setting>
<setting id="articleInJournal/setImageMaxHeight"></setting>
<setting id="articleInJournal/setImageMaxWidth"></setting>
<setting id="articleInJournal/setAbstract">true</setting>
<setting id="articleInJournal/setAuthors">true</setting>
<setting id="articleInJournal/setIssn">true</setting>
<setting id="articleInJournal/setIssue">true</setting>
<setting id="articleInJournal/setJournal">true</setting>
<setting id="articleInJournal/setLanguageOfPublication">true</setting>
<setting id="articleInJournal/setMisc">true</setting>
<setting id="articleInJournal/setPages">true</setting>
<setting id="articleInJournal/setPublicationDate">true</setting>
<setting id="articleInJournal/setUrl">true</setting>
<setting id="articleInJournal/setVolume">true</setting>
<setting id="articleInJournal/setYear">true</setting>
<setting id="articleInJournal/setYearFirstPublished">true</setting>
<setting id="articleInJournal/setAbstract">true</setting>
<setting id="articleInJournal/setAuthors">true</setting>
<setting id="articleInJournal/setIssn">true</setting>
<setting id="articleInJournal/setIssue">true</setting>
<setting id="articleInJournal/setJournal">true</setting>
<setting id="articleInJournal/setMisc">true</setting>
<setting id="articleInJournal/setPages">true</setting>
<setting id="articleInJournal/setPublicationDate">true</setting>
<setting id="articleInJournal/setUrl">true</setting>
<setting id="articleInJournal/setVolume">true</setting>
<setting id="articleInJournal/setYear">true</setting>
<!-- Settings for the detail view of a collected volume -->
<setting id="collectedVolume/setImage">true</setting>
<setting id="collectedVolume/setImageCaption">true</setting>
<setting id="collectedVolume/setImageMaxHeight"></setting>
<setting id="collectedVolume/setImageMaxWidth"></setting>
<!-- Settings for the detail view of a collected volume -->
<setting id="collectedVolume/setImage">true</setting>
<setting id="collectedVolume/setImageCaption">true</setting>
<setting id="collectedVolume/setImageMaxHeight"></setting>
<setting id="collectedVolume/setImageMaxWidth"></setting>
<setting id="collectedVolume/setAbstract">true</setting>
<setting id="collectedVolume/setArticles">true</setting>
<setting id="collectedVolume/setAuthors">true</setting>
<setting id="collectedVolume/setEdition">true</setting>
<setting id="collectedVolume/setIsbn">true</setting>
<setting id="collectedVolume/setLanguageOfPublication">true</setting>
<setting id="collectedVolume/setMisc">true</setting>
<setting id="collectedVolume/setNumberOfPages">true</setting>
<setting id="collectedVolume/setNumberOfVolumes">true</setting>
<setting id="collectedVolume/setPublisher">true</setting>
<setting id="collectedVolume/setSeries">true</setting>
<setting id="collectedVolume/setSeriesLink">true</setting>
<setting id="collectedVolume/setSeriesVolume">true</setting>
<setting id="collectedVolume/setUrl">true</setting>
<setting id="collectedVolume/setVolume">true</setting>
<setting id="collectedVolume/setYear">true</setting>
<setting id="collectedVolume/setYearFirstPublished">true</setting>
<setting id="collectedVolume/setAbstract">true</setting>
<setting id="collectedVolume/setArticles">true</setting>
<setting id="collectedVolume/setAuthors">true</setting>
<setting id="collectedVolume/setEdition">true</setting>
<setting id="collectedVolume/setIsbn">true</setting>
<setting id="collectedVolume/setMisc">true</setting>
<setting id="collectedVolume/setNumberOfPages">true</setting>
<setting id="collectedVolume/setNumberOfVolumes">true</setting>
<setting id="collectedVolume/setPublisher">true</setting>
<setting id="collectedVolume/setSeries">true</setting>
<setting id="collectedVolume/setSeriesLink">true</setting>
<setting id="collectedVolume/setSeriesVolume">true</setting>
<setting id="collectedVolume/setUrl">true</setting>
<setting id="collectedVolume/setVolume">true</setting>
<setting id="collectedVolume/setYear">true</setting>
<setting id="collectedVolume/setArticles">true</setting>
<!-- Settings for the detail view of an expertise -->
<setting id="expertise/setImage">true</setting>
<setting id="expertise/setImageCaption">true</setting>
<setting id="expertise/setImageMaxHeight"></setting>
<setting id="expertise/setImageMaxWidth"></setting>
<!-- Settings for the detail view of an expertise -->
<setting id="expertise/setImage">true</setting>
<setting id="expertise/setImageCaption">true</setting>
<setting id="expertise/setImageMaxHeight"></setting>
<setting id="expertise/setImageMaxWidth"></setting>
<setting id="expertise/setAbstract">true</setting>
<setting id="expertise/setAutors">true</setting>
<setting id="expertise/setLanguageOfPublication">true</setting>
<setting id="expertise/setMisc">true</setting>
<setting id="expertise/setNumberOfPages">true</setting>
<setting id="expertise/setOrderer">true</setting>
<setting id="expertise/setOrganization">true</setting>
<setting id="expertise/setPlace">true</setting>
<setting id="expertise/setSeries">false</setting>
<setting id="expertise/setSeriesLink">false</setting>
<setting id="expertise/setSeriesVolume">false</setting>
<setting id="expertise/setUrl">true</setting>
<setting id="expertise/setYear">true</setting
<setting id="expertise/setYearFirstPublished">true</setting>
<setting id="expertise/setAbstract">true</setting>
<setting id="expertise/setAutors">true</setting>
<setting id="expertise/setMisc">true</setting>
<setting id="expertise/setNumberOfPages">true</setting>
<setting id="expertise/setOrderer">true</setting>
<setting id="expertise/setOrganization">true</setting>
<setting id="expertise/setPlace">true</setting>
<setting id="expertise/setSeries">false</setting>
<setting id="expertise/setSeriesLink">false</setting>
<setting id="expertise/setSeriesVolume">false</setting>
<setting id="expertise/setUrl">true</setting>
<setting id="expertise/setYear">true</setting>
<!-- Settings for the detail view of a grey literature publication -->
<setting id="greyLiterature/setImage">true</setting>
<setting id="greyLiterature/setImageCaption">true</setting>
<setting id="greyLiterature/setImageMaxHeight"></setting>
<setting id="greyLiterature/setImageMaxWidth"></setting>
<!-- Settings for the detail view of a grey literature publication -->
<setting id="greyLiterature/setImage">true</setting>
<setting id="greyLiterature/setImageCaption">true</setting>
<setting id="greyLiterature/setImageMaxHeight"></setting>
<setting id="greyLiterature/setImageMaxWidth"></setting>
<setting id="greyLiterature/setAbstract">true</setting>
<setting id="greyLiterature/setAuthors">true</setting>
<setting id="greyLiterature/setLanguageOfPublication">true</setting>
<setting id="greyLiterature/setMisc">true</setting>
<setting id="greyLiterature/setNumber">true</setting>
<setting id="greyLiterature/setNumberOfPages">true</setting>
<setting id="greyLiterature/setOrganization">true</setting>
<setting id="greyLiterature/setPages">true</setting>
<setting id="greyLiterature/setPlace">true</setting>
<setting id="greyLiterature/setSeries">true</setting>
<setting id="greyLiterature/setSeriesLink">true</setting>
<setting id="greyLiterature/setSeriesVolume">true</setting>
<setting id="greyLiterature/setUrl">false</setting>
<setting id="greyLiterature/setYear">true</setting>
<setting id="greyLiterature/setYearFirstPublished">true</setting>
<setting id="greyLiterature/setAbstract">true</setting>
<setting id="greyLiterature/setAuthors">true</setting>
<setting id="greyLiterature/setMisc">true</setting>
<setting id="greyLiterature/setNumber">true</setting>
<setting id="greyLiterature/setNumberOfPages">true</setting>
<setting id="greyLiterature/setOrganization">true</setting>
<setting id="greyLiterature/setPages">true</setting>
<setting id="greyLiterature/setPlace">true</setting>
<setting id="greyLiterature/setSeries">true</setting>
<setting id="greyLiterature/setSeriesLink">true</setting>
<setting id="greyLiterature/setSeriesVolume">true</setting>
<setting id="greyLiterature/setUrl">false</setting>
<setting id="greyLiterature/setYear">true</setting>
<!-- Settings for the detail view of an in proceedings publication -->
<setting id="inProceedings/setImage">true</setting>
<setting id="inProceedings/setImageCaption">true</setting>
<setting id="inProceedings/setImageMaxHeight"></setting>
<setting id="inProceedings/setImageMaxWidth"></setting>
<!-- Settings for the detail view of an in proceedings publication -->
<setting id="inProceedings/setImage">true</setting>
<setting id="inProceedings/setImageCaption">true</setting>
<setting id="inProceedings/setImageMaxHeight"></setting>
<setting id="inProceedings/setImageMaxWidth"></setting>
<setting id="inProceedings/setAbstract">true</setting>
<setting id="inProceedings/setAuthors">true</setting>
<setting id="inProceedings/setLanguageOfPublication">true</setting>
<setting id="inProceedings/setMisc">true</setting>
<setting id="inProceedings/setPages">true</setting>
<setting id="inProceedings/setProceedings">true</setting>
<setting id="inProceedings/setSeries">true</setting>
<setting id="inProceedings/setSeriesLink">true</setting>
<setting id="inProceedings/setSeriesVolume">true</setting>
<setting id="inProceedings/setUrl">true</setting>
<setting id="inProceedings/setYear">true</setting>
<setting id="inProceedings/setYearFirstPublished">true</setting>
<setting id="inProceedings/setAbstract">true</setting>
<setting id="inProceedings/setAuthors">true</setting>
<setting id="inProceedings/setMisc">true</setting>
<setting id="inProceedings/setPages">true</setting>
<setting id="inProceedings/setProceedings">true</setting>
<setting id="inProceedings/setSeries">true</setting>
<setting id="inProceedings/setSeriesLink">true</setting>
<setting id="inProceedings/setSeriesVolume">true</setting>
<setting id="inProceedings/setUrl">true</setting>
<setting id="inProceedings/setYear">true</setting>
<!-- Settings for the detail view of an internet article -->
<setting id="internetArticle/setImage">true</setting>
<setting id="internetArticle/setImageCaption">true</setting>
<setting id="internetArticle/setImageMaxHeight"></setting>
<setting id="internetArticle/setImageMaxWidth"></setting>
<!-- Settings for the detail view of an internet article -->
<setting id="internetArticle/setImage">true</setting>
<setting id="internetArticle/setImageCaption">true</setting>
<setting id="internetArticle/setImageMaxHeight"></setting>
<setting id="internetArticle/setImageMaxWidth"></setting>
<setting id="internetArticle/setAbstract">true</setting>
<setting id="internetArticle/setAuthors">true</setting>
<setting id="internetArticle/setEdition">true</setting>
<setting id="internetArticle/setIssn">true</setting>
<setting id="internetArticle/setLanguageOfPublication">true</setting>
<setting id="internetArticle/setMisc">true</setting>
<setting id="internetArticle/setNumber">true</setting>
<setting id="internetArticle/setNumberOfPages">true</setting>
<setting id="internetArticle/setOrganization">true</setting>
<setting id="internetArticle/setPlace">true</setting>
<setting id="internetArticle/setPublicationDate">true</setting>
<setting id="internetArticle/setSeries">true</setting>
<setting id="internetArticle/setSeriesLink">true</setting>
<setting id="internetArticle/setSeriesVolume">true</setting>
<setting id="internetArticle/setYear">true</setting
<setting id="internetArticle/setYearFirstPublished">true</setting>
<setting id="internetArticle/setAbstract">true</setting>
<setting id="internetArticle/setAuthors">true</setting>
<setting id="internetArticle/setEdition">true</setting>
<setting id="internetArticle/setIssn">true</setting>
<setting id="internetArticle/setMisc">true</setting>
<setting id="internetArticle/setNumber">true</setting>
<setting id="internetArticle/setNumberOfPages">true</setting>
<setting id="internetArticle/setOrganization">true</setting>
<setting id="internetArticle/setPlace">true</setting>
<setting id="internetArticle/setPublicationDate">true</setting>
<setting id="internetArticle/setSeries">true</setting>
<setting id="internetArticle/setSeriesLink">true</setting>
<setting id="internetArticle/setSeriesVolume">true</setting>
<setting id="internetArticle/setYear">true</setting>
<!-- Settings for the detail view of a journal -->
<setting id="journal/setAbstract">true</setting>
<setting id="journal/setArticles">true</setting>
<setting id="journal/setIssn">true</setting>
<setting id="journal/setPeriodOfPublication">true</setting>
<setting id="journal/setSymbol">true</setting>
<!-- Settings for the detail view of a journal -->
<setting id="journal/setAbstract">true</setting>
<setting id="journal/setArticles">true</setting>
<setting id="journal/setIssn">true</setting>
<setting id="journal/setPeriodOfPublication">true</setting>
<setting id="journal/setSymbol">true</setting>
<!-- Settings for the detail view of a monograph -->
<setting id="monograph/setImage">true</setting>
<setting id="monograph/setImageCaption">true</setting>
<setting id="monograph/setImageMaxHeight"></setting>
<setting id="monograph/setImageMaxWidth"></setting>
<!-- Settings for the detail view of a monograph -->
<setting id="monograph/setImage">true</setting>
<setting id="monograph/setImageCaption">true</setting>
<setting id="monograph/setImageMaxHeight"></setting>
<setting id="monograph/setImageMaxWidth"></setting>
<setting id="monograph/setAbstract">true</setting>
<setting id="monograph/setAuthors">true</setting>
<setting id="monograph/setEdition">true</setting>
<setting id="monograph/setIsbn">true</setting>
<setting id="monograph/setLanguageOfPublication">true</setting>
<setting id="monograph/setMisc">true</setting>
<setting id="monograph/setNumberOfPages">true</setting>
<setting id="monograph/setNumberOfVolumes">true</setting>
<setting id="monograph/setPublisher">true</setting>
<setting id="monograph/setReviewed">true</setting>
<setting id="monograph/setSeries">true</setting>
<setting id="monograph/setSeriesLink">true</setting>
<setting id="monograph/setSeriesVolume">true</setting>
<setting id="monograph/setUrl">true</setting>
<setting id="monograph/setVolume">true</setting>
<setting id="monograph/setYear">true</setting>
<setting id="monograph/setYearFirstPublished">true</setting>
<setting id="monograph/setAbstract">true</setting>
<setting id="monograph/setAuthors">true</setting>
<setting id="monograph/setEdition">true</setting>
<setting id="monograph/setIsbn">true</setting>
<setting id="monograph/setMisc">true</setting>
<setting id="monograph/setNumberOfPages">true</setting>
<setting id="monograph/setNumberOfVolumes">true</setting>
<setting id="monograph/setPublisher">true</setting>
<setting id="monograph/setReviewed">true</setting>
<setting id="monograph/setSeries">true</setting>
<setting id="monograph/setSeriesLink">true</setting>
<setting id="monograph/setSeriesVolume">true</setting>
<setting id="monograph/setUrl">true</setting>
<setting id="monograph/setVolume">true</setting>
<setting id="monograph/setYear">true</setting>
<!-- Settings for the detail view of an proceedings publication -->
<setting id="proceedings/setImage">true</setting>
<setting id="proceedings/setImageCaption">true</setting>
<setting id="proceedings/setImageMaxHeight"></setting>
<setting id="proceedings/setImageMaxWidth"></setting>
<!-- Settings for the detail view of an proceedings publication -->
<setting id="proceedings/setImage">true</setting>
<setting id="proceedings/setImageCaption">true</setting>
<setting id="proceedings/setImageMaxHeight"></setting>
<setting id="proceedings/setImageMaxWidth"></setting>
<setting id="proceedings/setAbstract">true</setting>
<setting id="proceedings/setAuthors">true</setting>
<setting id="proceedings/setDateOfConference">true</setting>
<setting id="proceedings/setIsbn">true</setting>
<setting id="proceedings/setLanguageOfPublication">true</setting>
<setting id="proceedings/setMisc">true</setting>
<setting id="proceedings/setNameOfConference">true</setting>
<setting id="proceedings/setNumberOfPages">true</setting>
<setting id="proceedings/setNumberOfVolumes">true</setting>
<setting id="proceedings/setOrganizerOfConference">true</setting>
<setting id="proceedings/setPapers">true</setting>
<setting id="proceedings/setPlaceOfConference">true</setting>
<setting id="proceedings/setPublisher">true</setting>
<setting id="proceedings/setSeries">true</setting>
<setting id="proceedings/setUrl">true</setting>
<setting id="proceedings/setVolume">true</setting>
<setting id="proceedings/setYear">true</setting
<setting id="proceedings/setYearFirstPublished">true</setting>
<setting id="proceedings/setAbstract">true</setting>
<setting id="proceedings/setAuthors">true</setting>
<setting id="proceedings/setDateOfConference">true</setting>
<setting id="proceedings/setIsbn">true</setting>
<setting id="proceedings/setMisc">true</setting>
<setting id="proceedings/setNameOfConference">true</setting>
<setting id="proceedings/setNumberOfPages">true</setting>
<setting id="proceedings/setNumberOfVolumes">true</setting>
<setting id="proceedings/setOrganizerOfConference">true</setting>
<setting id="proceedings/setPapers">true</setting>
<setting id="proceedings/setPlaceOfConference">true</setting>
<setting id="proceedings/setPublisher">true</setting>
<setting id="proceedings/setSeries">true</setting>
<setting id="proceedings/setUrl">true</setting>
<setting id="proceedings/setVolume">true</setting>
<setting id="proceedings/setYear">true</setting>
<!-- Settings for the detail view of a review -->
<setting id="review/setImage">true</setting>
<setting id="review/setImageCaption">true</setting>
<setting id="review/setImageMaxHeight"></setting>
<setting id="review/setImageMaxWidth"></setting>
<!-- Settings for the detail view of a review -->
<setting id="review/setImage">true</setting>
<setting id="review/setImageCaption">true</setting>
<setting id="review/setImageMaxHeight"></setting>
<setting id="review/setImageMaxWidth"></setting>
<setting id="review/setAbstract">true</setting>
<setting id="review/setAuthors">true</setting>
<setting id="review/setIssn">true</setting>
<setting id="review/setIssue">true</setting>
<setting id="review/setJournal">true</setting>
<setting id="review/setLanguageOfPublication">true</setting>
<setting id="review/setMisc">true</setting>
<setting id="review/setPages">true</setting>
<setting id="review/setPublicationDate">true</setting>
<setting id="review/setUrl">true</setting>
<setting id="review/setVolume">true</setting>
<setting id="review/setYear">true</setting>
<setting id="review/setYearFirstPublished">true</setting>
<setting id="review/setAbstract">true</setting>
<setting id="review/setAuthors">true</setting>
<setting id="review/setIssn">true</setting>
<setting id="review/setIssue">true</setting>
<setting id="review/setJournal">true</setting>
<setting id="review/setMisc">true</setting>
<setting id="review/setPages">true</setting>
<setting id="review/setPublicationDate">true</setting>
<setting id="review/setUrl">true</setting>
<setting id="review/setVolume">true</setting>
<setting id="review/setYear">true</setting>
<!-- Settings for the detail view of a series -->
<setting id="series/setImage">true</setting>
<setting id="series/setImageCaption">true</setting>
<setting id="series/setImageMaxHeight"></setting>
<setting id="series/setImageMaxWidth"></setting>
<!-- Settings for the detail view of a series -->
<setting id="series/setImage">true</setting>
<setting id="series/setImageCaption">true</setting>
<setting id="series/setImageMaxHeight"></setting>
<setting id="series/setImageMaxWidth"></setting>
<setting id="series/setAbstract">true</setting>
<setting id="series/setEditors">true</setting>
<setting id="series/setVolumes">true</setting>
<setting id="series/setAbstract">true</setting>
<setting id="series/setEditors">true</setting>
<setting id="series/setVolumes">true</setting>
<!-- Settings for the detail view of a working paper -->
<setting id="workingPaper/setImage">true</setting>
<setting id="workingPaper/setImageCaption">true</setting>
<setting id="workingPaper/setImageMaxHeight"></setting>
<setting id="workingPaper/setImageMaxWidth"></setting>
<!-- Settings for the detail view of a working paper -->
<setting id="workingPaper/setImage">true</setting>
<setting id="workingPaper/setImageCaption">true</setting>
<setting id="workingPaper/setImageMaxHeight"></setting>
<setting id="workingPaper/setImageMaxWidth"></setting>
<setting id="workingPaper/setAbstract">true</setting>
<setting id="workingPaper/setAuthors">true</setting>
<setting id="workingPaper/setLanguageOfPublication">true</setting>
<setting id="workingPaper/setMisc">true</setting>
<setting id="workingPaper/setNumber">true</setting>
<setting id="workingPaper/setNumberOfPages">true</setting>
<setting id="workingPaper/setPages">true</setting>
<setting id="workingPaper/setOrganization">true</setting>
<setting id="workingPaper/setPlace">true</setting>
<setting id="workingPaper/setSeries">true</setting>
<setting id="workingPaper/setSeriesLink">true</setting>
<setting id="workingPaper/setSeriesVolume">true</setting>
<setting id="workingPaper/setYear">true</setting>
<setting id="workingPaper/setYearFirstPublished">true</setting>
<setting id="workingPaper/setAbstract">true</setting>
<setting id="workingPaper/setAuthors">true</setting>
<setting id="workingPaper/setMisc">true</setting>
<setting id="workingPaper/setNumber">true</setting>
<setting id="workingPaper/setNumberOfPages">true</setting>
<setting id="workingPaper/setPages">true</setting>
<setting id="workingPaper/setOrganization">true</setting>
<setting id="workingPaper/setPlace">true</setting>
<setting id="workingPaper/setSeries">true</setting>
<setting id="workingPaper/setSeriesLink">true</setting>
<setting id="workingPaper/setSeriesVolume">true</setting>
<setting id="workingPaper/setYear">true</setting>
<setting id="sciAuthor/setNameDetails">false</setting>
<setting id="sciAuthor/setNameDetails">false</setting>
</settings>

View File

@ -22,396 +22,445 @@
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0">
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0">
<!--
**************************************************************************
** Templates for an Expertise publication **
**************************************************************************
-->
<!--
**************************************************************************
** Templates for an Expertise publication **
**************************************************************************
-->
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'expertise/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'expertise/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="image">
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'expertise/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'expertise/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'expertise/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'expertise/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'expertise/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'expertise/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'expertise/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'expertise/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="CT_Expertise_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="detailed_view">
<xsl:template name="CT_Expertise_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setAbstract'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setAuthors'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setMisc'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setNumberOfPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setOrderer">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setOrderer'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setOrganization">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setOrganization'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPlace">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setPlace'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setSeries'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setSeriesLink'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setSeriesVolume'" />
<xsl:with-param name="setting" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setUrl">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setUrl'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setYear'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationExpertiseDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author" />
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/author'" />
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="setting" select="'expertise/setAbstract'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/authors'" />
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/year'" />
<xsl:with-param name="setting" select="'expertise/setAuthors'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication" />
</dd>
</xsl:if>
<xsl:if test="($setPlace = 'true') and (string-length(./place) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/place'" />
</xsl:variable>
<xsl:variable name="setLanguageOfPublication">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setLanguageOfPublication'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./place" />
</dd>
</xsl:if>
<xsl:if test="($setUrl = 'true') and (string-length(./url) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/url'" />
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setMisc'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<a>
<xsl:attribute name="href">
<xsl:value-of select="./url" />x</xsl:attribute>
<xsl:value-of select="./url" />
</a>
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/numberOfPages'" />
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setNumberOfPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages" />
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(./series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/series'" />
</xsl:variable>
<xsl:variable name="setOrderer">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setOrderer'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
</xsl:variable>
<xsl:variable name="setOrganization">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setOrganization'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPlace">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setPlace'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setSeries'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setSeriesLink'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setSeriesVolume'" />
<xsl:with-param name="setting" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setUrl">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setUrl'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setYear'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYearFirstPublished">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'expertise/setYearFirstPublished'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationExpertiseDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author" />
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/author'" />
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/authors'" />
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/year'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication" />
</dd>
</xsl:if>
<xsl:if test="($setYearFirstPublished = 'true') and (string-length(./yearFirstPublished) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'monograph/yearFirstPublished'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearFirstPublished" />
</dd>
</xsl:if>
<xsl:if test="($setLanguageOfPublication = 'true') and (string-length(./languageOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/languageOfPublication'" />
</xsl:call-template>
</dt>
<dd>
<xsl:variable name="langText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'languageCodes'" />
<xsl:with-param name="id" select="./languageOfPublication" />
</xsl:call-template>
</xsl:variable>
<xsl:choose>
<xsl:when test="(string-length($langText) &gt; 0) and (contains($langText, 'Missing Translation') = false())">
<xsl:value-of select="$langText"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./languageOfPublication"/>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
<xsl:if test="($setPlace = 'true') and (string-length(./place) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/place'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./place" />
</dd>
</xsl:if>
<xsl:if test="($setUrl = 'true') and (string-length(./url) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/url'" />
</xsl:call-template>
</dt>
<dd>
<a>
<xsl:attribute name="href">
<xsl:value-of select="./url" />x</xsl:attribute>
<xsl:value-of select="./url" />
</a>
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/numberOfPages'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages" />
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(./series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/series'" />
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
<xsl:if test="($setOrderer = 'true') and (string-length(./orderer) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/orderer'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./orderer/title" />
</dd>
</xsl:if>
<xsl:if test="($setOrganization = 'true') and (string-length(./organization) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/organization'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./organization/title" />
</dd>
</xsl:if>
</dl>
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
<xsl:if test="($setOrderer = 'true') and (string-length(./orderer) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/orderer'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./orderer/title" />
</dd>
</xsl:if>
<xsl:if test="($setOrganization = 'true') and (string-length(./organization) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/organization'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./organization/title" />
</dd>
</xsl:if>
</dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/abstract'" />
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/abstract'" />
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/misc'" />
</xsl:call-template>
</h3>
<xsl:value-of select="./misc" />
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'expertise/misc'" />
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_Expertise_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_Expertise_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template name="CT_Expertise_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.Expertise']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'formatDefFile'" />
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
</xsl:call-template>
</h3>
<xsl:value-of select="./misc" />
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_Expertise_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.Expertise']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_Expertise_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template name="CT_Expertise_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.Expertise']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'formatDefFile'" />
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
</xsl:call-template>
</xsl:variable>
</xsl:variable>
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname" />
<xsl:with-param name="givenName" select="./givenname" />
<xsl:with-param name="isEditor" select="./@isEditor" />
<xsl:with-param name="authorsCount" select="count(../author)" />
<xsl:with-param name="position" select="position()" />
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname" />
<xsl:with-param name="givenName" select="./givenname" />
<xsl:with-param name="isEditor" select="./@isEditor" />
<xsl:with-param name="authorsCount" select="count(../author)" />
<xsl:with-param name="position" select="position()" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- Call template for standard format -->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefExpertiseFormat">
<xsl:with-param name="authors" select="$authors" />
<xsl:with-param name="misc" select="./misc" />
<xsl:with-param name="numberOfPages" select="./numberofpages" />
<xsl:with-param name="place" select="./place" />
<xsl:with-param name="title" select="./title" />
<xsl:with-param name="year" select="./yearOfPublication" />
<xsl:with-param name="oid" select="./@oid" />
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
</xsl:template>
<!-- Call template for standard format -->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefExpertiseFormat">
<xsl:with-param name="authors" select="$authors" />
<xsl:with-param name="misc" select="./misc" />
<xsl:with-param name="numberOfPages" select="./numberofpages" />
<xsl:with-param name="place" select="./place" />
<xsl:with-param name="title" select="./title" />
<xsl:with-param name="year" select="./yearOfPublication" />
<xsl:with-param name="oid" select="./@oid" />
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:apply-templates>
</xsl:template>
<!-- Link view -->
<xsl:template name="CT_Expertise_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.Expertise']" mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link" />
</xsl:template>
<!-- Link view -->
<xsl:template name="CT_Expertise_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.Expertise']" mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link" />
</xsl:template>
</xsl:stylesheet>

View File

@ -22,434 +22,483 @@
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0">
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0">
<!--
**************************************************************************
** Templates for an GreyLiterature publication **
**************************************************************************
-->
<!--
**************************************************************************
** Templates for an GreyLiterature publication **
**************************************************************************
-->
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'greyLiterature/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'greyLiterature/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'greyLiterature/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'greyLiterature/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'greyLiterature/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="CT_GreyLiterature_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setAbstract'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setAuthors'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setMisc'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumber">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setNumber'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setNumberOfPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setOrganization">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPlace">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setPlace'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setSeries'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setSeriesLink'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setSeriesVolume'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setUrl">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setUrl'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setYear'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationGreyLiteratureDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author" />
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/author'" />
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/authors'" />
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/year'" />
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'greyLiterature/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication" />
</dd>
</xsl:if>
<xsl:if test="($setOrganization = 'true') and (string-length(../organization) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/organization'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="../organization/title" />
</dd>
</xsl:if>
<xsl:if test="($setPlace = 'true') and (string-length(./place) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/place'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./place" />
</dd>
</xsl:if>
<xsl:if test="($setNumber = 'true') and (string-length(./number) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/number'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./number" />
</dd>
</xsl:if>
<xsl:if test="($setUrl = 'true') and (string-length(./url) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/url'" />
</xsl:call-template>
</dt>
<dd>
<a>
<xsl:attribute name="href">
<xsl:value-of select="./url" />
</xsl:attribute>
<xsl:value-of select="./url" />
</a>
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/numberOfPages'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages" />
</dd>
</xsl:if>
<xsl:if test="($setPages = 'true') and (string-length(./pagesFrom) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/pages'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./pagesFrom" />
<xsl:if test="string-length(./pagesTo)">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/pagesSeparator'" />
</xsl:call-template>
<xsl:value-of select="./pagesTo" />
</xsl:if>
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (count(./series/series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/series'" />
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
</dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/abstract'" />
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/misc'" />
</xsl:call-template>
</h3>
<xsl:value-of select="./misc" />
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_GreyLiterature_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_GreyLiterature_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template name="CT_GreyLiterature_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.GreyLiterature']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'formatDefFile'" />
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
</xsl:call-template>
</xsl:variable>
<xsl:choose>
<xsl:when test="string-length(./nav:attribute[@name='title']) &gt;0">
<xsl:call-template name="CT_Publication_List" />
</xsl:when>
<xsl:otherwise>
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname" />
<xsl:with-param name="givenName" select="./givenname" />
<xsl:with-param name="isEditor" select="./@isEditor" />
<xsl:with-param name="authorsCount" select="count(../author)" />
<xsl:with-param name="position" select="position()" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- Call template for standard format -->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefGreyLiteratureFormat">
<xsl:with-param name="authors" select="$authors" />
<xsl:with-param name="misc" select="./misc" />
<xsl:with-param name="number" select="./number" />
<xsl:with-param name="numberOfPages" select="./numberofpages" />
<xsl:with-param name="organization" select="./organization/title" />
<xsl:with-param name="pagesFrom" select="./pagesFrom" />
<xsl:with-param name="pagesTo" select="./pagesTo" />
<xsl:with-param name="place" select="./place" />
<xsl:with-param name="title" select="./title" />
<xsl:with-param name="volume" select="./volume" />
<xsl:with-param name="year" select="./yearOfPublication" />
<xsl:with-param name="oid" select="./@oid" />
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- Link view -->
<xsl:template name="CT_GreyLiterature_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.GreyLiterature']" mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link" />
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'greyLiterature/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'greyLiterature/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'greyLiterature/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'greyLiterature/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="CT_GreyLiterature_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setAbstract'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setAuthors'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLanguageOfPublication">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setLanguageOfPublication'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setMisc'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumber">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setNumber'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setNumberOfPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setOrganization">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPlace">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setPlace'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setSeries'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setSeriesLink'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setSeriesVolume'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setUrl">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setUrl'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setYear'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYearFirstPublished">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'greyLiterature/setYearFirstPublished'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationGreyLiteratureDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author" />
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/author'" />
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/authors'" />
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/year'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication" />
</dd>
</xsl:if>
<xsl:if test="($setYearFirstPublished = 'true') and (string-length(./yearFirstPublished) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'greyLiterature/yearFirstPublished'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearFirstPublished" />
</dd>
</xsl:if>
<xsl:if test="($setLanguageOfPublication = 'true') and (string-length(./languageOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/languageOfPublication'" />
</xsl:call-template>
</dt>
<dd>
<xsl:variable name="langText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'languageCodes'" />
<xsl:with-param name="id" select="./languageOfPublication" />
</xsl:call-template>
</xsl:variable>
<xsl:choose>
<xsl:when test="(string-length($langText) &gt; 0) and (contains($langText, 'Missing Translation') = false())">
<xsl:value-of select="$langText"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./languageOfPublication"/>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if> <xsl:if test="($setOrganization = 'true') and (string-length(../organization) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/organization'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="../organization/title" />
</dd>
</xsl:if>
<xsl:if test="($setPlace = 'true') and (string-length(./place) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/place'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./place" />
</dd>
</xsl:if>
<xsl:if test="($setNumber = 'true') and (string-length(./number) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/number'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./number" />
</dd>
</xsl:if>
<xsl:if test="($setUrl = 'true') and (string-length(./url) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/url'" />
</xsl:call-template>
</dt>
<dd>
<a>
<xsl:attribute name="href">
<xsl:value-of select="./url" />
</xsl:attribute>
<xsl:value-of select="./url" />
</a>
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/numberOfPages'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages" />
</dd>
</xsl:if>
<xsl:if test="($setPages = 'true') and (string-length(./pagesFrom) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/pages'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./pagesFrom" />
<xsl:if test="string-length(./pagesTo)">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/pagesSeparator'" />
</xsl:call-template>
<xsl:value-of select="./pagesTo" />
</xsl:if>
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (count(./series/series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/series'" />
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
</dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/abstract'" />
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'greyLiterature/misc'" />
</xsl:call-template>
</h3>
<xsl:value-of select="./misc" />
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_GreyLiterature_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.GreyLiterature']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_GreyLiterature_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template name="CT_GreyLiterature_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.GreyLiterature']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'formatDefFile'" />
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
</xsl:call-template>
</xsl:variable>
<xsl:choose>
<xsl:when test="string-length(./nav:attribute[@name='title']) &gt;0">
<xsl:call-template name="CT_Publication_List" />
</xsl:when>
<xsl:otherwise>
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname" />
<xsl:with-param name="givenName" select="./givenname" />
<xsl:with-param name="isEditor" select="./@isEditor" />
<xsl:with-param name="authorsCount" select="count(../author)" />
<xsl:with-param name="position" select="position()" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- Call template for standard format -->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefGreyLiteratureFormat">
<xsl:with-param name="authors" select="$authors" />
<xsl:with-param name="misc" select="./misc" />
<xsl:with-param name="number" select="./number" />
<xsl:with-param name="numberOfPages" select="./numberofpages" />
<xsl:with-param name="organization" select="./organization/title" />
<xsl:with-param name="pagesFrom" select="./pagesFrom" />
<xsl:with-param name="pagesTo" select="./pagesTo" />
<xsl:with-param name="place" select="./place" />
<xsl:with-param name="title" select="./title" />
<xsl:with-param name="volume" select="./volume" />
<xsl:with-param name="year" select="./yearOfPublication" />
<xsl:with-param name="oid" select="./@oid" />
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:apply-templates>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<!-- Link view -->
<xsl:template name="CT_GreyLiterature_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.GreyLiterature']" mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link" />
</xsl:template>
</xsl:stylesheet>

View File

@ -22,438 +22,487 @@
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0">
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0">
<!--
**************************************************************************
** Templates for an InProceedings publication **
**************************************************************************
-->
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'inProceedings/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'inProceedings/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'inProceedings/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'inProceedings/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'inProceedings/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="CT_InProceedings_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setAbstract'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setAuthors'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setMisc'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setProceedings">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setProceedings'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setSeries'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setSeriesLink'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setSeriesVolume'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setYear'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationInProceedingsDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author" />
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/author'" />
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/authors'" />
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/year'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication" />
</dd>
</xsl:if>
<xsl:if test="($setPages = 'true') and (string-length(./pagesFrom) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/pages'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./pagesFrom" />
<xsl:if test="string-length(./pagesTo) &gt; 0">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/pagesSeparator'" />
</xsl:call-template>
<xsl:value-of select="./pagesTo" />
</xsl:if>
</dd>
</xsl:if>
<xsl:if test="($setProceedings = 'true') and (count(./proceedings) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/proceedings'" />
</xsl:call-template>
</dt>
<dd>
<!--<a>
<xsl:attribute name="href">/redirect/?oid=
<xsl:value-of select="./proceedings/@oid" /></xsl:attribute>
<xsl:value-of select="./proceedings/title" />
</a>-->
<xsl:for-each select="./proceedings">
<xsl:call-template name="CT_Proceedings_List"/>
</xsl:for-each>
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(../series/series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/series'" />
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
</dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/abstract'" />
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/misc'" />
</xsl:call-template>
</h3>
<xsl:value-of select="./misc" />
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_InProceedings_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_InProceedings_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template name="CT_InProceedings_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.InProceedings']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<!-- EN Get all settings needed -->
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'formatDefFile'" />
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLinkToDetails">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'listView/setLinkToDetails'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'listView/setLeadText'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadTextLength">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'listView/setLeadTextLength'" />
<xsl:with-param name="default" select="'0'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMoreButton">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'listView/setMoreButton'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<!--
**************************************************************************
** Templates for an InProceedings publication **
**************************************************************************
-->
<!--
Process authors first, and store the result (complete author part)
in a variable. The format for the authors part is defined in a
seperate XML file, which is also processed
here.
Detail view
===========
-->
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname" />
<xsl:with-param name="givenName" select="./givenname" />
<xsl:with-param name="isEditor" select="./@isEditor" />
<xsl:with-param name="authorsCount" select="count(../author)" />
<xsl:with-param name="position" select="position()" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'inProceedings/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'inProceedings/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'inProceedings/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'inProceedings/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'inProceedings/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="CT_InProceedings_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setAbstract'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setAuthors'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLanguageOfPublication">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setLanguageOfPublication'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setMisc'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setProceedings">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setProceedings'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setSeries'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setSeriesLink'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setSeriesVolume'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setYear'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYearFirstPublished">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'inProceedings/setYearFirstPublished'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationInProceedingsDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author" />
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/author'" />
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/authors'" />
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/year'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication" />
</dd>
</xsl:if>
<xsl:if test="($setYearFirstPublished = 'true') and (string-length(./yearFirstPublished) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'inProceedings/yearFirstPublished'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearFirstPublished" />
</dd>
</xsl:if>
<xsl:if test="($setLanguageOfPublication = 'true') and (string-length(./languageOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/languageOfPublication'" />
</xsl:call-template>
</dt>
<dd>
<xsl:variable name="langText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'languageCodes'" />
<xsl:with-param name="id" select="./languageOfPublication" />
</xsl:call-template>
</xsl:variable>
<xsl:choose>
<xsl:when test="(string-length($langText) &gt; 0) and (contains($langText, 'Missing Translation') = false())">
<xsl:value-of select="$langText"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./languageOfPublication"/>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
<xsl:if test="($setPages = 'true') and (string-length(./pagesFrom) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/pages'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./pagesFrom" />
<xsl:if test="string-length(./pagesTo) &gt; 0">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/pagesSeparator'" />
</xsl:call-template>
<xsl:value-of select="./pagesTo" />
</xsl:if>
</dd>
</xsl:if>
<xsl:if test="($setProceedings = 'true') and (count(./proceedings) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/proceedings'" />
</xsl:call-template>
</dt>
<dd>
<!--<a>
<xsl:attribute name="href">/redirect/?oid=
<xsl:value-of select="./proceedings/@oid" /></xsl:attribute>
<xsl:value-of select="./proceedings/title" />
</a>-->
<xsl:for-each select="./proceedings">
<xsl:call-template name="CT_Proceedings_List"/>
</xsl:for-each>
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(../series/series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/series'" />
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
</dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/abstract'" />
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'inProceedings/misc'" />
</xsl:call-template>
</h3>
<xsl:value-of select="./misc" />
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_InProceedings_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.InProceedings']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_InProceedings_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template name="CT_InProceedings_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.InProceedings']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<!-- EN Get all settings needed -->
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'formatDefFile'" />
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLinkToDetails">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'listView/setLinkToDetails'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'listView/setLeadText'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadTextLength">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'listView/setLeadTextLength'" />
<xsl:with-param name="default" select="'0'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMoreButton">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'listView/setMoreButton'" />
<xsl:with-param name="default" select="'false'" />
</xsl:call-template>
</xsl:variable>
<!--
Process authors first, and store the result (complete author part)
in a variable. The format for the authors part is defined in a
seperate XML file, which is also processed
here.
-->
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname" />
<xsl:with-param name="givenName" select="./givenname" />
<xsl:with-param name="isEditor" select="./@isEditor" />
<xsl:with-param name="authorsCount" select="count(../author)" />
<xsl:with-param name="position" select="position()" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- Process the publisher of the proceedings -->
<xsl:variable name="proceedingsPublisher">
<xsl:for-each select="./proceedings/publisher">
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefPublisherFormat">
<xsl:with-param name="name" select="./publisherName" />
<xsl:with-param name="place" select="./place" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- Process the publisher of the proceedings -->
<xsl:variable name="proceedingsPublisher">
<xsl:for-each select="./proceedings/publisher">
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefPublisherFormat">
<xsl:with-param name="name" select="./publisherName" />
<xsl:with-param name="place" select="./place" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- Process the authors of the proceedings -->
<xsl:variable name="proceedingsAuthors">
<xsl:for-each select="./proceedings/authors/author">
<xsl:sort select="./@order" data-type="number" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname"/>
<xsl:with-param name="givenName" select="./givenname" />
<xsl:with-param name="isEditor" select="false" />
<xsl:with-param name="authorsCount" select="count(../author)" />
<xsl:with-param name="position" select="position()" />
<!-- Process the authors of the proceedings -->
<xsl:variable name="proceedingsAuthors">
<xsl:for-each select="./proceedings/authors/author">
<xsl:sort select="./@order" data-type="number" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname"/>
<xsl:with-param name="givenName" select="./givenname" />
<xsl:with-param name="isEditor" select="false" />
<xsl:with-param name="authorsCount" select="count(../author)" />
<xsl:with-param name="position" select="position()" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- Processing the proceedings -->
<xsl:variable name="proceedings">
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefProceedingsFormat">
<xsl:with-param name="authors" select="$proceedingsAuthors"/>
<xsl:with-param name="dateFromOfConference" select="./proceedings/dateFromOfConference" />
<xsl:with-param name="dateToOfConference" select="./proceedings/dateToOfConference" />
<xsl:with-param name="isbn" select="./proceedings/isbn" />
<xsl:with-param name="misc" select="./proceedings/misc" />
<xsl:with-param name="nameOfConference" select="./proceedings/nameOfConference" />
<xsl:with-param name="numberOfPages" select="./proceedings/numberOfPages" />
<xsl:with-param name="numberOfVolumes" select="./proceedings/numberOfVolumes" />
<xsl:with-param name="organizerOfConference" select="./proceedings/organizerOfConference" />
<xsl:with-param name="placeOfConference" select="./proceedings/placeOfConference" />
<xsl:with-param name="publisher" select="$proceedingsPublisher" />
<xsl:with-param name="title" select="./proceedings/title" />
<xsl:with-param name="volume" select="./proceedings/volume" />
<xsl:with-param name="year" select="''" />
<xsl:with-param name="oid" select="./proceedings/@oid" />
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
</xsl:variable>
<!-- Processing the proceedings -->
<xsl:variable name="proceedings">
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefProceedingsFormat">
<xsl:with-param name="authors" select="$proceedingsAuthors"/>
<xsl:with-param name="dateFromOfConference" select="./proceedings/dateFromOfConference" />
<xsl:with-param name="dateToOfConference" select="./proceedings/dateToOfConference" />
<xsl:with-param name="isbn" select="./proceedings/isbn" />
<xsl:with-param name="misc" select="./proceedings/misc" />
<xsl:with-param name="nameOfConference" select="./proceedings/nameOfConference" />
<xsl:with-param name="numberOfPages" select="./proceedings/numberOfPages" />
<xsl:with-param name="numberOfVolumes" select="./proceedings/numberOfVolumes" />
<xsl:with-param name="organizerOfConference" select="./proceedings/organizerOfConference" />
<xsl:with-param name="placeOfConference" select="./proceedings/placeOfConference" />
<xsl:with-param name="publisher" select="$proceedingsPublisher" />
<xsl:with-param name="title" select="./proceedings/title" />
<xsl:with-param name="volume" select="./proceedings/volume" />
<xsl:with-param name="year" select="''" />
<xsl:with-param name="oid" select="./proceedings/@oid" />
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:apply-templates>
</xsl:variable>
<!-- Process the format specification -->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefInProceedingsFormat">
<xsl:with-param name="authors" select="$authors" />
<xsl:with-param name="misc" select="./misc" />
<xsl:with-param name="pagesFrom" select="./pagesFrom" />
<xsl:with-param name="pagesTo" select="./pagesTo" />
<xsl:with-param name="proceedings" select="$proceedings" />
<xsl:with-param name="title" select="./title" />
<xsl:with-param name="year" select="./yearOfPublication" />
<xsl:with-param name="oid" select="./@oid" />
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:apply-templates>
<!-- Process the format specification -->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefInProceedingsFormat">
<xsl:with-param name="authors" select="$authors" />
<xsl:with-param name="misc" select="./misc" />
<xsl:with-param name="pagesFrom" select="./pagesFrom" />
<xsl:with-param name="pagesTo" select="./pagesTo" />
<xsl:with-param name="proceedings" select="$proceedings" />
<xsl:with-param name="title" select="./title" />
<xsl:with-param name="year" select="./yearOfPublication" />
<xsl:with-param name="oid" select="./@oid" />
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:apply-templates>
</xsl:template>
</xsl:template>
<!-- Link view -->
<xsl:template name="CT_InProceedings_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.InProceedings']" mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link" />
</xsl:template>
<!-- Link view -->
<xsl:template name="CT_InProceedings_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.InProceedings']" mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link" />
</xsl:template>
</xsl:stylesheet>

View File

@ -22,464 +22,514 @@
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0"
>
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0"
>
<!--
**************************************************************************
** Templates for an InternetArticle publication **
**************************************************************************
-->
<!--
**************************************************************************
** Templates for an InternetArticle publication **
**************************************************************************
-->
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']" mode="image">
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="CT_InternetArticle_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']"
mode="detailed_view">
match="cms:item[objectType='com.arsdigita.cms.contenttypes.InternetArticle']"
mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setAbstract'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setAuthors'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setEdition">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setEdition'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setIssn">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setIssn'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setMisc'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumber">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setNumber'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setNumberOfPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setOrganization">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setOrganization'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPlace">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setPlace'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPublicationDate">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setPublicationDate'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setSeries'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setSeriesLink'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'internetArticle/setSeriesVolume'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setYear'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationInternetArticleDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author"/>
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/author'"/>
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/authors'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/year'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication"/>
</dd>
</xsl:if>
<xsl:if test="($setPublicationDate = 'true') and (string-length(./publicationDate) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/publicationDate'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./publicationDate"/>
</dd>
</xsl:if>
<xsl:if test="($setOrganization = 'true') and (string-length(./organization/title) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/organization'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./organization/title"/>
</dd>
</xsl:if>
<xsl:if test="($setPlace = 'true') and (string-length(./place) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/place'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./place"/>
</dd>
</xsl:if>
<xsl:if test="($setNumber = 'true') and (string-length(./number) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/number'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./number"/>
</dd>
</xsl:if>
<xsl:if test="($setIssn = 'true') and (string-length(./issn) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/issn'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./issn"/>
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/numberOfPages'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages"/>
</dd>
</xsl:if>
<xsl:if test="($setEdition = 'true') and (string-length(./edition) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/edition'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./edition"/>
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(./series/series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/series'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'internetArticle/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'internetArticle/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'internetArticle/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'internetArticle/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
</dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/abstract'"/>
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setAbstract'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setAuthors'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setEdition">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setEdition'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setIssn">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setIssn'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLanguageOfPublication">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'internetArticle/setLanguageOfPublication'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setMisc'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumber">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setNumber'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setNumberOfPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setOrganization">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setOrganization'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPlace">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setPlace'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPublicationDate">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setPublicationDate'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setSeries'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setSeriesLink'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'internetArticle/setSeriesVolume'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'internetArticle/setYear'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYearFirstPublished">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'internetArticle/setYearFirstPublished'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationInternetArticleDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author"/>
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/author'"/>
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/authors'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/year'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication"/>
</dd>
</xsl:if>
<xsl:if test="($setYearFirstPublished = 'true') and (string-length(./yearFirstPublished) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/yearFirstPublished'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearFirstPublished" />
</dd>
</xsl:if>
<xsl:if test="($setLanguageOfPublication = 'true') and (string-length(./languageOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'internetArticle/languageOfPublication'" />
</xsl:call-template>
</dt>
<dd>
<xsl:variable name="langText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'languageCodes'" />
<xsl:with-param name="id" select="./languageOfPublication" />
</xsl:call-template>
</xsl:variable>
<xsl:choose>
<xsl:when test="(string-length($langText) &gt; 0) and (contains($langText, 'Missing Translation') = false())">
<xsl:value-of select="$langText"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./languageOfPublication"/>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
<xsl:if test="($setPublicationDate = 'true') and (string-length(./publicationDate) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/publicationDate'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./publicationDate"/>
</dd>
</xsl:if>
<xsl:if test="($setOrganization = 'true') and (string-length(./organization/title) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/organization'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./organization/title"/>
</dd>
</xsl:if>
<xsl:if test="($setPlace = 'true') and (string-length(./place) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/place'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./place"/>
</dd>
</xsl:if>
<xsl:if test="($setNumber = 'true') and (string-length(./number) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/number'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./number"/>
</dd>
</xsl:if>
<xsl:if test="($setIssn = 'true') and (string-length(./issn) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/issn'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./issn"/>
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/numberOfPages'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages"/>
</dd>
</xsl:if>
<xsl:if test="($setEdition = 'true') and (string-length(./edition) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/edition'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./edition"/>
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(./series/series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/series'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'internetArticle/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'internetArticle/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'internetArticle/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'internetArticle/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
</dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/abstract'"/>
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/misc'"/>
</xsl:call-template>
</h3>
<xsl:value-of select="./misc"/>
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'internetArticle/misc'"/>
</xsl:call-template>
</h3>
<xsl:value-of select="./misc"/>
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:template>
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.InternetArticle']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_InternetArticle_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.InternetArticle']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_InternetArticle_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.InternetArticle']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_InternetArticle_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.InternetArticle']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_InternetArticle_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template
name="CT_InternetArticle_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.InternetArticle']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'formatDefFile'"/>
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'"/>
</xsl:call-template>
</xsl:variable>
<xsl:template
name="CT_InternetArticle_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.InternetArticle']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'formatDefFile'"/>
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number"/>
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname"/>
<xsl:with-param name="givenName" select="./givenname"/>
<xsl:with-param name="isEditor" select="./@isEditor"/>
<xsl:with-param name="authorsCount" select="count(../author)"/>
<xsl:with-param name="position" select="position()"/>
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number"/>
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname"/>
<xsl:with-param name="givenName" select="./givenname"/>
<xsl:with-param name="isEditor" select="./@isEditor"/>
<xsl:with-param name="authorsCount" select="count(../author)"/>
<xsl:with-param name="position" select="position()"/>
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- Call template for standard format -->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefInternetArticleFormat">
<xsl:with-param name="authors" select="$authors"/>
<xsl:with-param name="doi" select="./doi"/>
<xsl:with-param name="edition" select="./edition"/>
<xsl:with-param name="issn" select="./issn"/>
<xsl:with-param name="lastAccessed" select="./lastAccessed/@longDate"/>
<xsl:with-param name="misc" select="./misc"/>
<xsl:with-param name="number" select="./number"/>
<xsl:with-param name="numberOfPages" select="./numberofPages"/>
<xsl:with-param name="organization" select="./organization/title"/>
<xsl:with-param name="place" select="./place"/>
<xsl:with-param name="title" select="./title"/>
<xsl:with-param name="url" select="./url"/>
<xsl:with-param name="urn" select="./urn"/>
<xsl:with-param name="year" select="./yearOfPublication"/>
<xsl:with-param name="oid" select="./@oid"/>
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:apply-templates>
<!-- Call template for standard format -->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefInternetArticleFormat">
<xsl:with-param name="authors" select="$authors"/>
<xsl:with-param name="doi" select="./doi"/>
<xsl:with-param name="edition" select="./edition"/>
<xsl:with-param name="issn" select="./issn"/>
<xsl:with-param name="lastAccessed" select="./lastAccessed/@longDate"/>
<xsl:with-param name="misc" select="./misc"/>
<xsl:with-param name="number" select="./number"/>
<xsl:with-param name="numberOfPages" select="./numberofPages"/>
<xsl:with-param name="organization" select="./organization/title"/>
<xsl:with-param name="place" select="./place"/>
<xsl:with-param name="title" select="./title"/>
<xsl:with-param name="url" select="./url"/>
<xsl:with-param name="urn" select="./urn"/>
<xsl:with-param name="year" select="./yearOfPublication"/>
<xsl:with-param name="oid" select="./@oid"/>
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:apply-templates>
</xsl:template>
</xsl:template>
<!-- Link view -->
<xsl:template
name="CT_InternetArticle_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.InternetArticle']"
mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link"/>
</xsl:template>
<!-- Link view -->
<xsl:template
name="CT_InternetArticle_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.InternetArticle']"
mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link"/>
</xsl:template>
</xsl:stylesheet>

View File

@ -22,493 +22,542 @@
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0">
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0">
<!--
**************************************************************************
** Templates for an Monograph publication **
**************************************************************************
-->
<!--
**************************************************************************
** Templates for an Monograph publication **
**************************************************************************
-->
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'monograph/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'monograph/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="image">
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'monograph/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'monograph/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'monograph/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'monograph/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'monograph/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'monograph/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'monograph/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'monograph/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="CT_Monograph_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="detailed_view">
<xsl:template name="CT_Monograph_graphics" match="cms:item[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setAbstract'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setAuthors'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setEdition">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setEdition'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setIsbn">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setIsbn'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setMisc'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setNumberOfPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumberOfVolumes">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setNumberOfVolumes'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPublisher">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setPublisher'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setReviewed">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setReviewed'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setSeries'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setSeriesLink'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setSeriesVolume'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setUrl">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setUrl'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setVolume'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setYear'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'formatDefFile'" />
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationMonographDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author" />
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/author'" />
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="setting" select="'monograph/setAbstract'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/authors'" />
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/year'" />
<xsl:with-param name="setting" select="'monograph/setAuthors'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication" />
</dd>
</xsl:if>
<xsl:if test="($setPublisher = 'true') and (string-length(./publisher) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/publisher'" />
</xsl:variable>
<xsl:variable name="setEdition">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setEdition'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:variable name="publisherName" select="./publisher/publisherName" />
<xsl:variable name="place" select="./publisher/place" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefPublisherFormat">
<xsl:with-param name="name" select="$publisherName" />
<xsl:with-param name="place" select="$place" />
</xsl:apply-templates>
</dd>
</xsl:if>
<xsl:if test="($setIsbn = 'true') and (string-length(./isbn) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/isbn'" />
</xsl:variable>
<xsl:variable name="setIsbn">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setIsbn'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./isbn" />
</dd>
</xsl:if>
<xsl:if test="($setUrl = 'true') and (string-length(./url) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/url'" />
</xsl:variable>
<xsl:variable name="setLanguageOfPublication">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setLanguageOfPublication'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<a>
<xsl:attribute name="href">
<xsl:value-of select="./url" />
</xsl:attribute>
<xsl:value-of select="./url" />
</a>
</dd>
</xsl:if>
<xsl:if test="($setVolume = 'true') and (string-length(./volume) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/volume'" />
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setMisc'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./volume" />
</dd>
</xsl:if>
<xsl:if test="($setNumberOfVolumes = 'true') and (string-length(./numberOfVolumes) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/numberOfVolumes'" />
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setNumberOfPages'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfVolumes" />
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/numberOfPages'" />
</xsl:variable>
<xsl:variable name="setNumberOfVolumes">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setNumberOfVolumes'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages" />
</dd>
</xsl:if>
<xsl:if test="($setEdition = 'true') and (string-length(./edition) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/edition'" />
</xsl:variable>
<xsl:variable name="setPublisher">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setPublisher'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./edition" />
</dd>
</xsl:if>
<xsl:if test="($setReviewed = 'true') and (string-length(./reviewed) &gt; 0) and (./reviewed = 'true')">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/reviewed'" />
</xsl:variable>
<xsl:variable name="setReviewed">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setReviewed'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd><EFBFBD></dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(./series/series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/series'" />
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setSeries'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setSeriesLink'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setSeriesVolume'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setUrl">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setUrl'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setVolume'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setYear'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYearFirstPublished">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'monograph/setYearFirstPublished'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'formatDefFile'" />
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationMonographDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author" />
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/author'" />
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/authors'" />
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/year'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication" />
</dd>
</xsl:if>
<xsl:if test="($setYearFirstPublished = 'true') and (string-length(./yearFirstPublished) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'monograph/yearFirstPublished'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearFirstPublished" />
</dd>
</xsl:if>
<xsl:if test="($setLanguageOfPublication = 'true') and (string-length(./languageOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/languageOfPublication'" />
</xsl:call-template>
</dt>
<dd>
<xsl:variable name="langText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'languageCodes'" />
<xsl:with-param name="id" select="./languageOfPublication" />
</xsl:call-template>
</xsl:variable>
<xsl:choose>
<xsl:when test="(string-length($langText) &gt; 0) and (contains($langText, 'Missing Translation') = false())">
<xsl:value-of select="$langText"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./languageOfPublication"/>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
<xsl:if test="($setPublisher = 'true') and (string-length(./publisher) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/publisher'" />
</xsl:call-template>
</dt>
<dd>
<xsl:variable name="publisherName" select="./publisher/publisherName" />
<xsl:variable name="place" select="./publisher/place" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefPublisherFormat">
<xsl:with-param name="name" select="$publisherName" />
<xsl:with-param name="place" select="$place" />
</xsl:apply-templates>
</dd>
</xsl:if>
<xsl:if test="($setIsbn = 'true') and (string-length(./isbn) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/isbn'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./isbn" />
</dd>
</xsl:if>
<xsl:if test="($setUrl = 'true') and (string-length(./url) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/url'" />
</xsl:call-template>
</dt>
<dd>
<a>
<xsl:attribute name="href">
<xsl:value-of select="./url" />
</xsl:attribute>
<xsl:value-of select="./url" />
</a>
</dd>
</xsl:if>
<xsl:if test="($setVolume = 'true') and (string-length(./volume) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/volume'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./volume" />
</dd>
</xsl:if>
<xsl:if test="($setNumberOfVolumes = 'true') and (string-length(./numberOfVolumes) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/numberOfVolumes'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfVolumes" />
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/numberOfPages'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages" />
</dd>
</xsl:if>
<xsl:if test="($setEdition = 'true') and (string-length(./edition) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/edition'" />
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./edition" />
</dd>
</xsl:if>
<xsl:if test="($setReviewed = 'true') and (string-length(./reviewed) &gt; 0) and (./reviewed = 'true')">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/reviewed'" />
</xsl:call-template>
</dt>
<dd><EFBFBD></dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(./series/series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/series'" />
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
</dl>
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
</dl>
<xsl:if test="($setAbstract = 'true') and (string-length(normalize-space(./abstract)) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/abstract'" />
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
<xsl:if test="($setAbstract = 'true') and (string-length(normalize-space(./abstract)) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/abstract'" />
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/misc'" />
</xsl:call-template>
</h3>
<xsl:value-of select="./misc" />
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'monograph/misc'" />
</xsl:call-template>
</h3>
<xsl:value-of select="./misc" />
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:template>
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_Monograph_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_Monograph_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template name="CT_Monograph_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.Monograph']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'formatDefFile'" />
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
</xsl:call-template>
</xsl:variable>
<!--
Process authors first, and store the result (complete author part)
in a variable. The format for the authors part is defined in a
seperate XML file, which is also processed
here.
<!--
List view
=========
-->
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname" />
<xsl:with-param name="givenName" select="./givenname" />
<xsl:with-param name="isEditor" select="@isEditor" />
<xsl:with-param name="authorsCount" select="count(../author)" />
<xsl:with-param name="position" select="position()" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_Monograph_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.Monograph']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:call-template name="CT_Monograph_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:call-template>
</xsl:template>
<xsl:template name="CT_Monograph_List" match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.Monograph']" mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'" />
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'formatDefFile'" />
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'" />
</xsl:call-template>
</xsl:variable>
<!--
Process authors first, and store the result (complete author part)
in a variable. The format for the authors part is defined in a
seperate XML file, which is also processed
here.
-->
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number" />
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname" />
<xsl:with-param name="givenName" select="./givenname" />
<xsl:with-param name="isEditor" select="@isEditor" />
<xsl:with-param name="authorsCount" select="count(../author)" />
<xsl:with-param name="position" select="position()" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!--
Process publisher part, and store in a variable. The format for
the publisher part is definied in a separate XML file which also
processed here.
-->
<xsl:variable name="publisher">
<xsl:for-each select="./publisher">
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefPublisherFormat">
<xsl:with-param name="name" select="./publisherName" />
<xsl:with-param name="place" select="./place" />
<!--
Process publisher part, and store in a variable. The format for
the publisher part is definied in a separate XML file which also
processed here.
-->
<xsl:variable name="publisher">
<xsl:for-each select="./publisher">
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefPublisherFormat">
<xsl:with-param name="name" select="./publisherName" />
<xsl:with-param name="place" select="./place" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- Call template for standard format -->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefMonographFormat">
<xsl:with-param name="authors" select="$authors" />
<xsl:with-param name="edition" select="./edition" />
<xsl:with-param name="isbn" select="./isbn" />
<xsl:with-param name="misc" select="./misc" />
<xsl:with-param name="numberOfPages" select="./numberofpages" />
<xsl:with-param name="numberOfVolumes" select="./numberofvolumes" />
<xsl:with-param name="publisher" select="$publisher" />
<xsl:with-param name="reviewed" select="./reviewed" />
<xsl:with-param name="series" select="./series/series/title"/>
<xsl:with-param name="seriesVolume" select="./series/series/@volume"/>
<xsl:with-param name="title" select="./title" />
<xsl:with-param name="volume" select="./volume" />
<xsl:with-param name="year" select="./yearOfPublication" />
<xsl:with-param name="oid" select="./@oid" />
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- Call template for standard format -->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefMonographFormat">
<xsl:with-param name="authors" select="$authors" />
<xsl:with-param name="edition" select="./edition" />
<xsl:with-param name="isbn" select="./isbn" />
<xsl:with-param name="misc" select="./misc" />
<xsl:with-param name="numberOfPages" select="./numberofpages" />
<xsl:with-param name="numberOfVolumes" select="./numberofvolumes" />
<xsl:with-param name="publisher" select="$publisher" />
<xsl:with-param name="reviewed" select="./reviewed" />
<xsl:with-param name="series" select="./series/series/title"/>
<xsl:with-param name="seriesVolume" select="./series/series/@volume"/>
<xsl:with-param name="title" select="./title" />
<xsl:with-param name="volume" select="./volume" />
<xsl:with-param name="year" select="./yearOfPublication" />
<xsl:with-param name="oid" select="./@oid" />
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl" />
</xsl:apply-templates>
</xsl:template>
</xsl:template>
<!-- Link view -->
<xsl:template name="CT_Monograph_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.Monograph']" mode="link_view">
<!-- Simply call template for Publications with publisher, because there is
no difference for list view between these
two types -->
<xsl:call-template name="CT_PublicationWithPublisher_Link" />
</xsl:template>
<!-- Link view -->
<xsl:template name="CT_Monograph_Link" match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.Monograph']" mode="link_view">
<!-- Simply call template for Publications with publisher, because there is
no difference for list view between these
two types -->
<xsl:call-template name="CT_PublicationWithPublisher_Link" />
</xsl:template>
</xsl:stylesheet>

View File

@ -22,440 +22,490 @@
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0"
>
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0"
>
<!--
**************************************************************************
** Templates for an ResearchReport publication **
**************************************************************************
-->
<!--
**************************************************************************
** Templates for an ResearchReport publication **
**************************************************************************
-->
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="CT_ResearchReport_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']"
mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setAbstract'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setAuthors'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setMisc'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumber">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setNumber'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setNumberOfPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setOrganization">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPlace">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setPlace'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setSeries'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setSeriesLink'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setSeriesVolume'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setYear'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationGreyLiteratureDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author"/>
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/author'"/>
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/authors'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/year'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication"/>
</dd>
</xsl:if>
<xsl:if test="($setOrganization = 'true') and (string-length(./organization) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/organization'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./organization/title"/>
</dd>
</xsl:if>
<xsl:if test="($setPlace = 'true') and (string-length(./place) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/place'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./place"/>
</dd>
</xsl:if>
<xsl:if test="($setNumber = 'true') and (string-length(./number) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/number'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./number"/>
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/numberOfPages'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages"/>
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(./series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/series'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'researchReport/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'researchReport/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'researchReport/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'researchReport/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
</dl>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']" mode="image">
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/abstract'"/>
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="CT_ResearchReport_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.ResearchReport']"
mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setAbstract'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setAuthors'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLanguageOfPublication">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'researchReport/setLanguageOfPublication'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setMisc'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumber">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setNumber'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setNumberOfPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setOrganization">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPlace">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setPlace'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setSeries'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setSeriesLink'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setSeriesVolume'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'researchReport/setYear'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYearFirstPublished">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'researchReport/setYearFirstPublished'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationGreyLiteratureDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author"/>
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/author'"/>
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/authors'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/year'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication"/>
</dd>
</xsl:if>
<xsl:if test="($setYearFirstPublished = 'true') and (string-length(./yearFirstPublished) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/yearFirstPublished'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearFirstPublished" />
</dd>
</xsl:if>
<xsl:if test="($setLanguageOfPublication = 'true') and (string-length(./languageOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'researchReport/languageOfPublication'" />
</xsl:call-template>
</dt>
<dd>
<xsl:variable name="langText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'languageCodes'" />
<xsl:with-param name="id" select="./languageOfPublication" />
</xsl:call-template>
</xsl:variable>
<xsl:choose>
<xsl:when test="(string-length($langText) &gt; 0) and (contains($langText, 'Missing Translation') = false())">
<xsl:value-of select="$langText"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./languageOfPublication"/>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
<xsl:if test="($setOrganization = 'true') and (string-length(./organization) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/organization'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./organization/title"/>
</dd>
</xsl:if>
<xsl:if test="($setPlace = 'true') and (string-length(./place) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/place'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./place"/>
</dd>
</xsl:if>
<xsl:if test="($setNumber = 'true') and (string-length(./number) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/number'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./number"/>
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/numberOfPages'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages"/>
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(./series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/series'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'researchReport/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'researchReport/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'researchReport/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'researchReport/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
</dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/abstract'"/>
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/misc'"/>
</xsl:call-template>
</h3>
<xsl:value-of select="./misc"/>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'researchReport/misc'"/>
</xsl:call-template>
</h3>
<xsl:value-of select="./misc"/>
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:template>
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.ResearchReport']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_ResearchReport_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.ResearchReport']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_ResearchReport_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template
name="CT_ResearchReport_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.ResearchReport']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<!-- EN Get all settings needed -->
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'formatDefFile'"/>
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLinkToDetails">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLinkToDetails'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadTextLength">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadTextLength'"/>
<xsl:with-param name="default" select="'0'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMoreButton">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setMoreButton'"/>
<xsl:with-param name="default" select="'false'"/>
</xsl:call-template>
</xsl:variable>
<!--
Process authors first, and store the result (complete author part)
in a variable. The format for the authors part is defined in a
seperate XML file, which is also processed
here.
-->
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number"/>
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname"/>
<xsl:with-param name="givenName" select="./givenname"/>
<xsl:with-param name="isEditor" select="./@isEditor"/>
<xsl:with-param name="authorsCount" select="count(../author)"/>
<xsl:with-param name="position" select="position()"/>
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!--
Procecess the format specification and use the values from the XML
List view
=========
-->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefResearchReportFormat">
<xsl:with-param name="authors" select="$authors"/>
<xsl:with-param name="misc" select="./misc"/>
<xsl:with-param name="number" select="./number"/>
<xsl:with-param name="numberOfPages" select="./numberOfPages"/>
<xsl:with-param name="organization" select="./organization/title"/>
<xsl:with-param name="place" select="./place"/>
<xsl:with-param name="series" select="./series/title"/>
<xsl:with-param name="title" select="./title"/>
<xsl:with-param name="year" select="./yearOfPublication"/>
<xsl:with-param name="oid" select="./@oid"/>
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:apply-templates>
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.ResearchReport']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_ResearchReport_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.ResearchReport']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_ResearchReport_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<!-- link view -->
<xsl:template
name="CT_ResearchReport_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.ResearchReport']"
mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link"/>
</xsl:template>
<xsl:template
name="CT_ResearchReport_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.ResearchReport']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<!-- EN Get all settings needed -->
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'formatDefFile'"/>
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLinkToDetails">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLinkToDetails'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadTextLength">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadTextLength'"/>
<xsl:with-param name="default" select="'0'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMoreButton">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setMoreButton'"/>
<xsl:with-param name="default" select="'false'"/>
</xsl:call-template>
</xsl:variable>
<!--
Process authors first, and store the result (complete author part)
in a variable. The format for the authors part is defined in a
seperate XML file, which is also processed
here.
-->
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number"/>
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname"/>
<xsl:with-param name="givenName" select="./givenname"/>
<xsl:with-param name="isEditor" select="./@isEditor"/>
<xsl:with-param name="authorsCount" select="count(../author)"/>
<xsl:with-param name="position" select="position()"/>
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!--
Procecess the format specification and use the values from the XML
-->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefResearchReportFormat">
<xsl:with-param name="authors" select="$authors"/>
<xsl:with-param name="misc" select="./misc"/>
<xsl:with-param name="number" select="./number"/>
<xsl:with-param name="numberOfPages" select="./numberOfPages"/>
<xsl:with-param name="organization" select="./organization/title"/>
<xsl:with-param name="place" select="./place"/>
<xsl:with-param name="series" select="./series/title"/>
<xsl:with-param name="title" select="./title"/>
<xsl:with-param name="year" select="./yearOfPublication"/>
<xsl:with-param name="oid" select="./@oid"/>
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:apply-templates>
</xsl:template>
<!-- link view -->
<xsl:template
name="CT_ResearchReport_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.ResearchReport']"
mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link"/>
</xsl:template>

View File

@ -22,444 +22,494 @@
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0"
>
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0"
>
<!--
**************************************************************************
** Templates for an Review publication **
**************************************************************************
-->
<!--
**************************************************************************
** Templates for an Review publication **
**************************************************************************
-->
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']" mode="image">
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption"/>
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
</xsl:template>
<xsl:template name="CT_Review_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']"
mode="detailed_view">
<xsl:template name="CT_Review_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.Review']"
mode="detailed_view">
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setAbstract'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setAuthors'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setIssn">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setIssn'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setIssue">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setIssue'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setJournal">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setJournal'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setMisc'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPublicationDate">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setPublicationDate'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setUrl">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setUrl'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setVolume'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setYear'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setAbstract'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setAuthors'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setIssn">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setIssn'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setIssue">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setIssue'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setJournal">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setJournal'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLanguageOfPublication">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'review/setLanguageOfPublication'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setMisc'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPublicationDate">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setPublicationDate'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setUrl">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setUrl'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setVolume'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'review/setYear'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYearFirstPublished">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'review/setYearFirstPublished'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationReviewDetails">
<div class="mainBody publication publicationDetails publicationReviewDetails">
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(../authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="../authors/author"/>
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/author'"/>
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/authors'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(../authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="../authors/author"/>
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/author'"/>
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/authors'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/year'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication"/>
</dd>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/year'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication"/>
</dd>
</xsl:if>
<xsl:if test="($setYearFirstPublished = 'true') and (string-length(./yearFirstPublished) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/yearFirstPublished'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearFirstPublished" />
</dd>
</xsl:if>
<xsl:if test="($setLanguageOfPublication = 'true') and (string-length(./languageOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'review/languageOfPublication'" />
</xsl:call-template>
</dt>
<dd>
<xsl:variable name="langText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'languageCodes'" />
<xsl:with-param name="id" select="./languageOfPublication" />
</xsl:call-template>
</xsl:variable>
<xsl:choose>
<xsl:when test="(string-length($langText) &gt; 0) and (contains($langText, 'Missing Translation') = false())">
<xsl:value-of select="$langText"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./languageOfPublication"/>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
<xsl:if test="($setJournal = 'true') and (string-length(../journal) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/journal'"/>
</xsl:call-template>
</dt>
<dd>
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="../journal/@oid"/></xsl:attribute>
<xsl:value-of select="../journal/title"/>
</a>
</dd>
</xsl:if>
<xsl:if test="($setJournal = 'true') and (string-length(../journal) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/journal'"/>
</xsl:call-template>
</dt>
<dd>
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="../journal/@oid"/></xsl:attribute>
<xsl:value-of select="../journal/title"/>
</a>
</dd>
</xsl:if>
<xsl:if test="($setIssn = 'true') and (string-length(./issn) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/issn'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./issn"/>
</dd>
</xsl:if>
<xsl:if test="($setIssn = 'true') and (string-length(./issn) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/issn'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./issn"/>
</dd>
</xsl:if>
<xsl:if test="($setUrl = 'true') and (string-length(./url) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/url'"/>
</xsl:call-template>
</dt>
<dd>
<a>
<xsl:attribute name="href">
<xsl:value-of select="./url"/>
</xsl:attribute>
<xsl:value-of select="./url"/>
</a>
</dd>
</xsl:if>
<xsl:if test="($setUrl = 'true') and (string-length(./url) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/url'"/>
</xsl:call-template>
</dt>
<dd>
<a>
<xsl:attribute name="href">
<xsl:value-of select="./url"/>
</xsl:attribute>
<xsl:value-of select="./url"/>
</a>
</dd>
</xsl:if>
<xsl:if test="($setVolume = 'true') and (string-length(./volume) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/volume'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./volume"/>
</dd>
</xsl:if>
<xsl:if test="($setVolume = 'true') and (string-length(./volume) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/volume'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./volume"/>
</dd>
</xsl:if>
<xsl:if test="($setIssue = 'true') and (string-length(./issue) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/issue'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./issue"/>
</dd>
</xsl:if>
<xsl:if test="($setIssue = 'true') and (string-length(./issue) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/issue'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./issue"/>
</dd>
</xsl:if>
<xsl:if test="($setPublicationDate = 'true') and (string-length(./publicationDate) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/publicationDate'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./publicationDate"/>
</dd>
</xsl:if>
</dl>
<xsl:if test="($setPublicationDate = 'true') and (string-length(./publicationDate) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/publicationDate'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./publicationDate"/>
</dd>
</xsl:if>
</dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/abstract'"/>
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:variable name="abstract">
<xsl:call-template name="mandalay:string-replace">
<xsl:with-param name="string" select="./abstract"/>
<xsl:with-param name="from" select="'&#xA;'"/>
<xsl:with-param name="to" select="'&lt;br/>'"/>
</xsl:call-template>
</xsl:variable>
<xsl:value-of disable-output-escaping="yes" select="$abstract"/>
</div>
</div>
</xsl:if>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/abstract'"/>
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:variable name="abstract">
<xsl:call-template name="mandalay:string-replace">
<xsl:with-param name="string" select="./abstract"/>
<xsl:with-param name="from" select="'&#xA;'"/>
<xsl:with-param name="to" select="'&lt;br/>'"/>
</xsl:call-template>
</xsl:variable>
<xsl:value-of disable-output-escaping="yes" select="$abstract"/>
</div>
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/misc'"/>
</xsl:call-template>
</h3>
<xsl:value-of select="./misc"/>
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'review/misc'"/>
</xsl:call-template>
</h3>
<xsl:value-of select="./misc"/>
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:template>
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.Review']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_Review_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.Review']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_Review_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template
name="CT_Review_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.Review']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<!-- EN Get all settings needed -->
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'formatDefFile'"/>
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLinkToDetails">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLinkToDetails'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadTextLength">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadTextLength'"/>
<xsl:with-param name="default" select="'0'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMoreButton">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setMoreButton'"/>
<xsl:with-param name="default" select="'false'"/>
</xsl:call-template>
</xsl:variable>
<!--
Process authors first, and store the result (complete author part)
in a variable. The format for the authors part is defined in a
seperate XML file, which is also processed
here.
<!--
List view
=========
-->
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number"/>
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname"/>
<xsl:with-param name="givenName" select="./givenname"/>
<xsl:with-param name="isEditor" select="./@isEditor"/>
<xsl:with-param name="authorsCount" select="count(../author)"/>
<xsl:with-param name="position" select="position()"/>
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.Review']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_Review_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.Review']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_Review_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template
name="CT_Review_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.Review']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<!-- EN Get all settings needed -->
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'formatDefFile'"/>
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLinkToDetails">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLinkToDetails'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadTextLength">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadTextLength'"/>
<xsl:with-param name="default" select="'0'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMoreButton">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setMoreButton'"/>
<xsl:with-param name="default" select="'false'"/>
</xsl:call-template>
</xsl:variable>
<!--
Process authors first, and store the result (complete author part)
in a variable. The format for the authors part is defined in a
seperate XML file, which is also processed
here.
-->
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number"/>
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname"/>
<xsl:with-param name="givenName" select="./givenname"/>
<xsl:with-param name="isEditor" select="./@isEditor"/>
<xsl:with-param name="authorsCount" select="count(../author)"/>
<xsl:with-param name="position" select="position()"/>
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!-- Processing the journal data using the format for journals -->
<xsl:variable name="journal">
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefJournalFormat">
<xsl:with-param name="issn" select="./journal/issn"/>
<xsl:with-param name="misc" select="./journal/misc"/>
<xsl:with-param name="reviewed" select="./journal/reviewed"/>
<xsl:with-param name="title" select="./journal/title"/>
</xsl:apply-templates>
</xsl:variable>
<!-- Processing the journal data using the format for journals -->
<xsl:variable name="journal">
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefJournalFormat">
<xsl:with-param name="issn" select="./journal/issn"/>
<xsl:with-param name="misc" select="./journal/misc"/>
<xsl:with-param name="reviewed" select="./journal/reviewed"/>
<xsl:with-param name="title" select="./journal/title"/>
</xsl:apply-templates>
</xsl:variable>
<!--
Procecess the format specification and use the values from the XML
-->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefReviewFormat">
<xsl:with-param name="authors" select="$authors"/>
<xsl:with-param name="issue" select="./issue"/>
<xsl:with-param name="journal" select="$journal"/>
<xsl:with-param name="misc" select="./misc"/>
<xsl:with-param name="pagesFrom" select="./pagesFrom"/>
<xsl:with-param name="pagesTo" select="./pagesTo"/>
<xsl:with-param name="publicationDate" select="./publicationDate"/>
<xsl:with-param name="title" select="./title"/>
<xsl:with-param name="volume" select="./volume"/>
<xsl:with-param name="year" select="./yearOfPublication"/>
<xsl:with-param name="oid" select="./@oid"/>
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:apply-templates>
<!--
Procecess the format specification and use the values from the XML
-->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefReviewFormat">
<xsl:with-param name="authors" select="$authors"/>
<xsl:with-param name="issue" select="./issue"/>
<xsl:with-param name="journal" select="$journal"/>
<xsl:with-param name="misc" select="./misc"/>
<xsl:with-param name="pagesFrom" select="./pagesFrom"/>
<xsl:with-param name="pagesTo" select="./pagesTo"/>
<xsl:with-param name="publicationDate" select="./publicationDate"/>
<xsl:with-param name="title" select="./title"/>
<xsl:with-param name="volume" select="./volume"/>
<xsl:with-param name="year" select="./yearOfPublication"/>
<xsl:with-param name="oid" select="./@oid"/>
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:apply-templates>
</xsl:template>
</xsl:template>
<!-- Review link view -->
<xsl:template
name="CT_Review_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.Review']"
mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link"/>
</xsl:template>
<!-- Review link view -->
<xsl:template
name="CT_Review_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.Review']"
mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link"/>
</xsl:template>
</xsl:stylesheet>

View File

@ -22,53 +22,53 @@
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0"
>
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0"
>
<!--
**************************************************************************
** Templates for an UnPublished publication **
**************************************************************************
-->
<!--
**************************************************************************
** Templates for an UnPublished publication **
**************************************************************************
-->
<!--
Detail view
===========
-->
<!--
Detail view
===========
-->
<!--
List view
=========
-->
<xsl:template
name="CT_UnPublished_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.UnPublished']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<!--
List view
=========
-->
<xsl:template
name="CT_UnPublished_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.UnPublished']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<!-- Link view -->
<xsl:template
name="CT_UnPublished_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.UnPublished']"
mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link"/>
</xsl:template>
<!-- Link view -->
<xsl:template
name="CT_UnPublished_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.UnPublished']"
mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link"/>
</xsl:template>
</xsl:stylesheet>

View File

@ -22,438 +22,488 @@
-->
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0"
>
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
xmlns:nav="http://ccm.redhat.com/navigation"
xmlns:cms="http://www.arsdigita.com/cms/1.0"
xmlns:mandalay="http://mandalay.quasiweb.de"
exclude-result-prefixes="xsl bebop cms nav"
version="1.0"
>
<!--
**************************************************************************
** Templates for an WorkingPaper publication **
**************************************************************************
-->
<!--
**************************************************************************
** Templates for an WorkingPaper publication **
**************************************************************************
-->
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<!--
Detail view
===========
-->
<!-- DE Leadtext -->
<!-- EN lead text view -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']" mode="lead">
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']" mode="image">
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
</xsl:template>
<xsl:template name="CT_WorkingPaper_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']"
mode="detailed_view">
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setAbstract'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setAuthors'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setMisc'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumber">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setNumber'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setNumberOfPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setOrganization">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPlace">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setPlace'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setSeries'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setSeriesLink'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setSeriesVolume'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setYear'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationGreyLiteratureDetails">
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption" />
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author"/>
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/author'"/>
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/authors'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/year'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication"/>
</dd>
</xsl:if>
<xsl:if test="($setOrganization = 'true') and (string-length(./organization/title) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/organization'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./organization/title"/>
</dd>
</xsl:if>
<xsl:if test="($setPlace = 'true') and (string-length(./place) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/place'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./place"/>
</dd>
</xsl:if>
<xsl:if test="($setNumber = 'true') and (string-length(./number) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/number'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./number"/>
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/numberOfPages'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages"/>
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(./series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/series'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'workingPaper/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'workingPaper/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'workingPaper/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'workingPaper/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
<xsl:if test="./lead and $setLeadText = 'true'">
<div class="lead">
<xsl:value-of disable-output-escaping="yes" select="./lead"/>
</div>
</xsl:if>
</xsl:template>
</dl>
<!-- DE Bild -->
<!-- EN image -->
<xsl:template match="cms:item[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']" mode="image">
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/abstract'"/>
<!-- DE Hole alle benötigten Einstellungen-->
<!-- EN Getting all needed setting-->
</xsl:template>
<xsl:template name="CT_WorkingPaper_graphics"
match="cms:item[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']"
mode="detailed_view">
<xsl:variable name="setImage">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setImage'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
</xsl:variable>
<xsl:variable name="setImageCaption">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setImageCaption'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxHeight">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setImageMaxHeight'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setImageMaxWidth">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setImageMaxWidth'"/>
<xsl:with-param name="default" select="''"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAbstract">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setAbstract'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setAuthors">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setAuthors'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLanguageOfPublication">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'workingPaper/setLanguageOfPublication'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMisc">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setMisc'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumber">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setNumber'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setNumberOfPages">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setNumberOfPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setOrganization">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setPages'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setPlace">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setPlace'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeries">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setSeries'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesLink">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setSeriesLink'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setSeriesVolume">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setSeriesVolume'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYear">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'workingPaper/setYear'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setYearFirstPublished">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="setting" select="'workingPaper/setYearFirstPublished'" />
<xsl:with-param name="default" select="'true'" />
</xsl:call-template>
</xsl:variable>
<div class="mainBody publication publicationDetails publicationGreyLiteratureDetails">
<xsl:if test="$setImage = 'true'">
<xsl:call-template name="mandalay:imageAttachment">
<xsl:with-param name="showCaption" select="$setImageCaption" />
<xsl:with-param name="maxHeight" select="$setImageMaxHeight" />
<xsl:with-param name="maxWidth" select="$setImageMaxWidth" />
</xsl:call-template>
</xsl:if>
<dl>
<xsl:if test="($setAuthors = 'true') and (string-length(./authors) &gt; 0)">
<xsl:call-template name="scipublicationsAuthors">
<xsl:with-param name="authors" select="./authors/author"/>
<xsl:with-param name="authorText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/author'"/>
</xsl:call-template>
</xsl:with-param>
<xsl:with-param name="authorsText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/authors'"/>
</xsl:call-template>
</xsl:with-param>
</xsl:call-template>
</xsl:if>
<xsl:if test="($setYear = 'true') and (string-length(./yearOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/year'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearOfPublication"/>
</dd>
</xsl:if>
<xsl:if test="($setYearFirstPublished = 'true') and (string-length(./yearFirstPublished) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'monograph/yearFirstPublished'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./yearFirstPublished" />
</dd>
</xsl:if>
<xsl:if test="($setLanguageOfPublication = 'true') and (string-length(./languageOfPublication) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'workingPaper/languageOfPublication'" />
</xsl:call-template>
</dt>
<dd>
<xsl:variable name="langText">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'languageCodes'" />
<xsl:with-param name="id" select="./languageOfPublication" />
</xsl:call-template>
</xsl:variable>
<xsl:choose>
<xsl:when test="(string-length($langText) &gt; 0) and (contains($langText, 'Missing Translation') = false())">
<xsl:value-of select="$langText"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./languageOfPublication"/>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
<xsl:if test="($setOrganization = 'true') and (string-length(./organization/title) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/organization'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./organization/title"/>
</dd>
</xsl:if>
<xsl:if test="($setPlace = 'true') and (string-length(./place) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/place'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./place"/>
</dd>
</xsl:if>
<xsl:if test="($setNumber = 'true') and (string-length(./number) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/number'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./number"/>
</dd>
</xsl:if>
<xsl:if test="($setNumberOfPages = 'true') and (string-length(./numberOfPages) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/numberOfPages'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:value-of select="./numberOfPages"/>
</dd>
</xsl:if>
<xsl:if test="($setSeries = 'true') and (string-length(./series) &gt; 0)">
<dt>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/series'"/>
</xsl:call-template>
</dt>
<dd>
<xsl:choose>
<xsl:when test="$setSeriesLink = 'true'">
<a>
<xsl:attribute name="href">/redirect/?oid=<xsl:value-of select="./series/series/@oid" /></xsl:attribute>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'workingPaper/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'workingPaper/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</a>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="./series/series/title" />
<xsl:if test="$setSeriesVolume = 'true'">
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'workingPaper/seriesVolumePre'" />
</xsl:call-template>
<xsl:value-of select="./series/series/@volume" />
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'" />
<xsl:with-param name="id" select="'workingPaper/seriesVolumePost'" />
</xsl:call-template>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
</dd>
</xsl:if>
</dl>
<xsl:if test="($setAbstract = 'true') and (string-length(./abstract) &gt; 0)">
<div class="publicationAbstract">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/abstract'"/>
</xsl:call-template>
</h3>
<div class="abstract">
<xsl:value-of disable-output-escaping="yes" select="./abstract" />
</div>
</div>
</xsl:if>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/misc'"/>
</xsl:call-template>
</h3>
<xsl:value-of select="./misc"/>
<xsl:if test="($setMisc = 'true') and (string-length(normalize-space(./misc)) &gt; 0)">
<div class="publicationMisc">
<h3>
<xsl:call-template name="mandalay:getStaticText">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="id" select="'workingPaper/misc'"/>
</xsl:call-template>
</h3>
<xsl:value-of select="./misc"/>
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:if>
<!-- <xsl:call-template name="scipublicationsDownload"/> -->
</div>
</xsl:template>
</xsl:template>
<!--
List view
=========
-->
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_WorkingPaper_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_WorkingPaper_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template
name="CT_WorkingPaper_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.WorkingPaper']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<!-- EN Get all settings needed -->
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'formatDefFile'"/>
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLinkToDetails">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLinkToDetails'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadTextLength">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadTextLength'"/>
<xsl:with-param name="default" select="'0'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMoreButton">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setMoreButton'"/>
<xsl:with-param name="default" select="'false'"/>
</xsl:call-template>
</xsl:variable>
<!--
Process authors first, and store the result (complete author part)
in a variable. The format for the authors part is defined in a
seperate XML file, which is also processed
here.
-->
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number"/>
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname"/>
<xsl:with-param name="givenName" select="./givenname"/>
<xsl:with-param name="isEditor" select="./@isEditor"/>
<xsl:with-param name="authorsCount" select="count(../author)"/>
<xsl:with-param name="position" select="position()"/>
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!--
Procecess the format specification and use the values from the XML
List view
=========
-->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefWorkingPaperFormat">
<xsl:with-param name="authors" select="$authors"/>
<xsl:with-param name="misc" select="./misc"/>
<xsl:with-param name="number" select="./number"/>
<xsl:with-param name="numberOfPages" select="./numberOfPages"/>
<xsl:with-param name="organization" select="./organization/title"/>
<xsl:with-param name="place" select="./place"/>
<xsl:with-param name="series" select="./series/series/title"/>
<xsl:with-param name="title" select="./title"/>
<xsl:with-param name="year" select="./yearOfPublication"/>
<xsl:with-param name="oid" select="./@oid"/>
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:apply-templates>
</xsl:template>
<xsl:template match="publications[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_WorkingPaper_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<!-- link view -->
<xsl:template
name="CT_WorkingPaper_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.WorkingPaper']"
mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link"/>
</xsl:template>
<xsl:template match="publication[objectType='com.arsdigita.cms.contenttypes.WorkingPaper']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<xsl:call-template name="CT_WorkingPaper_List">
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:call-template>
</xsl:template>
<xsl:template
name="CT_WorkingPaper_List"
match="nav:item[nav:attribute[@name='objectType'] = 'com.arsdigita.cms.contenttypes.WorkingPaper']"
mode="list_view">
<xsl:param name="useRelativeUrl" select="'false'"/>
<!-- EN Get all settings needed -->
<xsl:variable name="formatDefFile">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'formatDefFile'"/>
<xsl:with-param name="default" select="'SciPublicationsDefaultFormat.xml'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLinkToDetails">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLinkToDetails'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadText">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadText'"/>
<xsl:with-param name="default" select="'true'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setLeadTextLength">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setLeadTextLength'"/>
<xsl:with-param name="default" select="'0'"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="setMoreButton">
<xsl:call-template name="mandalay:getSetting">
<xsl:with-param name="module" select="'SciPublications'"/>
<xsl:with-param name="setting" select="'listView/setMoreButton'"/>
<xsl:with-param name="default" select="'false'"/>
</xsl:call-template>
</xsl:variable>
<!--
Process authors first, and store the result (complete author part)
in a variable. The format for the authors part is defined in a
seperate XML file, which is also processed
here.
-->
<xsl:variable name="authors">
<xsl:for-each select="./authors/author">
<xsl:sort select="./@order" data-type="number"/>
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefAuthorFormat">
<xsl:with-param name="surname" select="./surname"/>
<xsl:with-param name="givenName" select="./givenname"/>
<xsl:with-param name="isEditor" select="./@isEditor"/>
<xsl:with-param name="authorsCount" select="count(../author)"/>
<xsl:with-param name="position" select="position()"/>
</xsl:apply-templates>
</xsl:for-each>
</xsl:variable>
<!--
Procecess the format specification and use the values from the XML
-->
<xsl:apply-templates select="document(concat($theme-prefix, '/settings/', $formatDefFile))/bibrefFormat/bibrefWorkingPaperFormat">
<xsl:with-param name="authors" select="$authors"/>
<xsl:with-param name="misc" select="./misc"/>
<xsl:with-param name="number" select="./number"/>
<xsl:with-param name="numberOfPages" select="./numberOfPages"/>
<xsl:with-param name="organization" select="./organization/title"/>
<xsl:with-param name="place" select="./place"/>
<xsl:with-param name="series" select="./series/series/title"/>
<xsl:with-param name="title" select="./title"/>
<xsl:with-param name="year" select="./yearOfPublication"/>
<xsl:with-param name="oid" select="./@oid"/>
<xsl:with-param name="useRelativeUrl" select="$useRelativeUrl"/>
</xsl:apply-templates>
</xsl:template>
<!-- link view -->
<xsl:template
name="CT_WorkingPaper_Link"
match="*/cms:item/links[targetItem/objectType = 'com.arsdigita.cms.contenttypes.WorkingPaper']"
mode="link_view">
<!-- Simply call template for Publications, because there is not difference for list view between these
two types -->
<xsl:call-template name="CT_Publication_Link"/>
</xsl:template>

View File

@ -4,32 +4,32 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://rhea.redhat.com/schemas/waf/xml-renderer-rules xml-renderer-rules.xsd">
<xrd:context name="com.arsdigita.cms.dispatcher.SimpleXMLGenerator" >
<xrd:context name="com.arsdigita.cms.dispatcher.SimpleXMLGenerator" >
<xrd:adapter objectType="com.arsdigita.cms.contenttypes.Publication"
extends="com.arsdigita.cms.ContentPage">
<xrd:adapter objectType="com.arsdigita.cms.contenttypes.Publication"
extends="com.arsdigita.cms.ContentPage">
<xrd:associations rule="include">
<xrd:property name="/object/authors"/>
<xrd:property name="/object/series"/>
</xrd:associations>
<xrd:associations rule="include">
<xrd:property name="/object/authors"/>
<xrd:property name="/object/series"/>
</xrd:associations>
</xrd:adapter>
</xrd:adapter>
</xrd:context>
</xrd:context>
<xrd:context name="com.arsdigita.cms.search.ContentPageMetadataProvider">
<xrd:adapter objectType="com.arsdigita.cms.contenttypes.Publication"
extends="com.arsdigita.cms.ContentItem"
traversalClass="com.arsdigita.cms.contenttypes.ContentItemTraversalAdapter">
<xrd:attributes rule="exclude">
</xrd:attributes>
<xrd:attributes rule="include">
<xrd:property name="/object/authors/surname"/>
<xrd:property name="/object/authors/givenname"/>
<xrd:property name="/object/publisher/publisherName"/>
</xrd:attributes>
</xrd:adapter>
</xrd:context>
<xrd:context name="com.arsdigita.cms.search.ContentPageMetadataProvider">
<xrd:adapter objectType="com.arsdigita.cms.contenttypes.Publication"
extends="com.arsdigita.cms.ContentItem"
traversalClass="com.arsdigita.cms.contenttypes.ContentItemTraversalAdapter">
<xrd:attributes rule="exclude">
</xrd:attributes>
<xrd:attributes rule="include">
<xrd:property name="/object/authors/surname"/>
<xrd:property name="/object/authors/givenname"/>
<xrd:property name="/object/publisher/publisherName"/>
</xrd:attributes>
</xrd:adapter>
</xrd:context>
</xrd:adapters>