このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


XML source 見解(をとる)
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.16
<xsl:stylesheet xmlns:bib="http://purl.org/NET/xbiblio/citeproc" xmlns="http://purl.org/NET/xbiblio/citeproc" xmlns:cs="http://purl.org/NET/xbiblio/csl" xmlns:db="http://docbook.org/ns/docbook" xmlns:mods="http://www.loc.gov/mods/v3" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdoc="http://www.pnp-ソフトウェア.com/XSLTdoc" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 見解/翻訳/版="2.0" 除外する-result-prefixes="xhtml mods xdoc db bib xs cs">
??
<xsl:保存する-space elements="cs:prefix cs:suffix" />
??
<!--?===?licensed?under?CC-GNU?GPL;?see?http://creativecommons.org/licenses/GPL/2.0?===?-->
??
??<xdoc:doc type="stylesheet">
????
<xdoc:short>過程?CSL?とじ込み/提出するs?to?configure?formatting.</xdoc:short>
????
<xdoc:author>Bruce?D’Arcus</xdoc:author>
????
<xdoc:copyright>2004,?Bruce?D’Arcus</xdoc:copyright>
??
</xdoc:doc>

??
<xsl:variable 指名する="refclass-partInSerial" select="('article-newspaper','合法的な 事例/患者','法案','article','会議/協議会 paper')" />
??
<xsl:variable 指名する="refclass-partInMonograph" select="('song','一時期/支部')" />
??
<xsl:variable 指名する="refclass-monograph" select="('報告(する)/憶測','personal communication','調書をとる/予約する')" />
??
<xsl:variable 指名する="genres" select="('論題/論文', 'newsletter', 'dissertation')" />
??
??
<xsl:template match="cs:citation">
????
<xsl:param 指名する="特記する/引用する-ref" as="node()" tunnel="yes" />
????
<xsl:param 指名する="last-in-author-group" as="xs:boolean?" tunnel="yes" />
????
<xsl:param 指名する="bib:source" as="element(mods:mods)?" tunnel="yes" />
????
<bib:a class="citation" href="#{@ID}">
??????
<xsl:choose>
????????
<xsl:when 実験(する)="cs:first">
??????????
<xsl:choose>
????????????
<xsl:when 実験(する)="bib:first-言及/関連($cite-ref)">
??????????????
<xsl:適用する-templates select="cs:first">
????????????????
<xsl:with-param 指名する="use_reftype" select="$bib:source/@bib:use-reftype" tunnel="yes" />
??????????????
</xsl:適用する-templates>??????
????????????
</xsl:when>
????????????
<xsl:さもなければ>
??????????????
<xsl:適用する-templates select="cs:その後の">
????????????????
<xsl:with-param 指名する="use_reftype" select="$bib:source/@bib:use-reftype" tunnel="yes" />
??????????????
</xsl:適用する-templates>
????????????
</xsl:さもなければ>
??????????
</xsl:choose>
????????
</xsl:when>
????????
<xsl:さもなければ>
??????????
<xsl:適用する-templates select="* except (cs:prefix|cs:suffix)">
????????????
<xsl:with-param 指名する="use_reftype" select="$bib:source/@bib:use-reftype" tunnel="yes" />
??????????
</xsl:適用する-templates>????????
????????
</xsl:さもなければ>
??????
</xsl:choose>
????
</bib:a>
????
<xsl:if 実験(する)="not($last-in-author-group) and not($citeclass='number' or $citeclass='citekey')">,?</xsl:if>
??
</xsl:template>
??
??
<!--?FIX?ME:?move?below?code?to?CSL?templates?
??????<xsl:value-of?select="bib:year-suffix"/>
??
-->
??
<xsl:template match="cs:point">
????
<xsl:param 指名する="特記する/引用する-ref" as="node()" tunnel="yes" />
????
<xsl:if 実験(する)="$cite-ref/@begin">
??????
<xsl:適用する-templates select="cs:prefix" />
??????
<xsl:value-of select="$cite-ref/@begin" />
??????
<xsl:if 実験(する)="$cite-ref/@end">
????????
<xsl:text></xsl:text>
????????
<xsl:value-of select="bib:number-condense($cite-ref/@begin, $cite-ref/@end)" />
??????
</xsl:if>
????
</xsl:if>????
??
</xsl:template>

??
<xsl:template match="cs:first">
????
<xsl:適用する-templates select="cs:layout">
??????
<xsl:with-param 指名する="multi-authors" select="cs:多重の-authors" as="element(cs:多重の-authors)?" tunnel="yes" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:layout">
????
<xsl:param 指名する="use_reftype" tunnel="yes" />
????
<xsl:適用する-templates select="if (cs:reftype) then (cs:reftype[@指名する=$use_reftype]) else *" />
??
</xsl:template>

??
<xsl:template match="cs:その後の">
????
<xsl:適用する-templates select="if (cs:layout) then (cs:layout) else (先行する-sibling::cs:first/cs:layout)">
??????
<xsl:with-param 指名する="multi-authors" select="if (cs:多重の-authors) then (cs:多重の-authors) else (先行する-sibling::cs:first/cs:多重の-authors)" as="element(cs:多重の-authors)?" tunnel="yes" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:all">
????
<xsl:適用する-templates select="cs:layout">
??????
<xsl:with-param 指名する="multi-authors" select="cs:多重の-authors" as="element(cs:多重の-authors)?" tunnel="yes" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:number">
????
<xsl:param 指名する="特記する/引用する-ref" as="node()" tunnel="yes" />
????
<(期間が)わたる class="示す">
??????
<xsl:value-of select="$bib:formatted-biblist/bib:item[@id=$cite-ref/@linkend]/@bib:biblist-number" />
????
</(期間が)わたる>
??
</xsl:template>
??
??
<xsl:template match="cs:citekey">
????
<xsl:param 指名する="特記する/引用する-ref" as="node()" tunnel="yes" />
????
<(期間が)わたる class="示す">
??????
<xsl:value-of select="$cite-ref/@linkend" />
????
</(期間が)わたる>
??
</xsl:template>
??
??
<!--?change?citeproc?to?適用する-templates?here?with?use-reftype?parameter?-->
??
<xsl:template match="cs:bibliography">
????
<xsl:param 指名する="bib:source" as="element(mods:mods)" tunnel="yes" />
????
<xsl:param 指名する="use_reftype" as="xs:string" tunnel="yes" />
????
<xsl:適用する-templates select="cs:layout/cs:reftype[@指名する=$use_reftype]">
??????
<xsl:with-param 指名する="multi-authors" select="cs:多重の-authors" as="element(cs:多重の-authors)?" tunnel="yes" />
??????
<xsl:with-param 指名する="em-dash-author" select="self::cs:bibliography and $bib:source/@bib:縮める-author='true'" as="xs:boolean?" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:reftype">
????
<!--?needed?to?change?the?below?to?optional;?may?need?to?check?this?again?later?-->
????
<xsl:param 指名する="bib:number" as="xs:string?" tunnel="yes" />
????
<xsl:param 指名する="bib:source" as="element(mods:mods)" tunnel="yes" />
????
<item class="bibref" id="{$bib:source/@ID}" bib:biblist-number="{$bib:number}">
??????
<xsl:if 実験(する)="$citeclass='number'">
????????
<(期間が)わたる class="示す">
??????????
<xsl:value-of select="$bib:number" />
????????
</(期間が)わたる>
????????
<xsl:text>.?</xsl:text>
??????
</xsl:if>
??????
<xsl:if 実験(する)="$citeclass='citekey'">
????????
<xsl:text>[</xsl:text>
????????
<xsl:value-of select="$bib:source/@ID" />
????????
<xsl:text>]?</xsl:text>
??????
</xsl:if>?
??????
<xsl:適用する-templates />
??????
<xsl:value-of select="$bibref-after" />??
????
</item>
??
</xsl:template>
????
??
<xsl:template match="cs:creator">
????
<xsl:param 指名する="first-in-author-group" as="xs:boolean?" tunnel="yes" />
????
<xsl:param 指名する="地元の-特記する/引用する-style" as="node()?" tunnel="yes" />
????
<xsl:choose>
??????
<xsl:when 実験(する)="ancestor::cs:citation">
????????
<xsl:if 実験(する)="$first-in-author-group and not($local-特記する/引用する-style='year')">
??????????
<xsl:適用する-templates select="cs:prefix" />
??????????
<xsl:適用する-templates select="cs:指名するs | cs:指名するs-short | cs:役割" />
??????????
<xsl:適用する-templates select="cs:suffix" />
????????
</xsl:if>
??????
</xsl:when>
??????
<xsl:さもなければ>
????????
<xsl:適用する-templates select="cs:prefix" />
????????
<xsl:適用する-templates select="cs:指名するs | cs:指名するs-short | cs:役割" />
????????
<xsl:適用する-templates select="cs:suffix" />
??????
</xsl:さもなければ>
????
</xsl:choose>
??
</xsl:template>
??
??
<xsl:template match="cs:creator/cs:指名するs">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:param 指名する="em-dash-author" as="xs:boolean?" tunnel="yes" />
????
<xsl:choose>
??????
<xsl:when 実験(する)="$em-dash-author">
????????
<!--?直す/買収する,八百長をする?to?config?in?CSL?-->
????????
<xsl:text>——?</xsl:text>
??????
</xsl:when>
??????
<xsl:さもなければ>
????????
<xsl:適用する-templates select="$bib:source/bib:noname-代用品,人" />
????????
<xsl:適用する-templates select="$bib:source/mods:指名する[mods:役割/mods:roleTerm=$primary-contributors]" 方式="十分な">
??????????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
??????????
<xsl:with-param 指名する="sort-order" select="$style-biblio/@author-as-sort-order" />
????????
</xsl:適用する-templates>
??????
</xsl:さもなければ>
????
</xsl:choose>
??
</xsl:template>
??
??
<xsl:template match="cs:creator/cs:指名するs-short">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:param 指名する="em-dash-author" as="xs:boolean?" tunnel="yes" />
????
<xsl:choose>
??????
<xsl:when 実験(する)="$em-dash-author">
????????
<!--?直す/買収する,八百長をする?to?config?in?CSL?-->
????????
<xsl:text>——?</xsl:text>
??????
</xsl:when>
??????
<xsl:さもなければ>
????????
<xsl:適用する-templates select="$bib:source/bib:noname-代用品,人" />
????????
<xsl:適用する-templates select="$bib:source/mods:指名する[mods:役割/mods:roleTerm=$primary-contributors]" 方式="short">
??????????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
??????????
<xsl:with-param 指名する="sort-order" select="$style-biblio/@author-as-sort-order" />
????????
</xsl:適用する-templates>
??????
</xsl:さもなければ>
????
</xsl:choose>
??
</xsl:template>
??
??
<xsl:template match="cs:役割">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:指名する/mods:役割">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:肩書を与える">
????
<xsl:param 指名する="bib:source" as="element()?" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:titleInfo[not(@type)]" 方式="十分な">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
??????
<xsl:with-param 指名する="font-style" select="@font-style" />
??????
<xsl:with-param 指名する="font-負わせる" select="@font-負わせる" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:会議/協議会">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:指名する[@type='会議/協議会']/mods:namePart">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
??????
<xsl:with-param 指名する="font-style" select="@font-style" />
??????
<xsl:with-param 指名する="font-負わせる" select="@font-負わせる" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:origin">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:if 実験(する)="$bib:source/mods:originInfo/mods:publisher or $bib:source/mods:originInfo/mods:place">
??????
<(期間が)わたる class="origin">
????????
<xsl:適用する-templates />
??????
</(期間が)わたる>
????
</xsl:if>
??
</xsl:template>
??
??
<xsl:template match="cs:コンテナ">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<(期間が)わたる class="コンテナ">
??????
<xsl:適用する-templates>
????????
<xsl:with-param 指名する="bib:source" select="$bib:source/mods:relatedItem[@type='host']" as="element()" tunnel="yes" />
??????
</xsl:適用する-templates>
????
</(期間が)わたる>
??
</xsl:template>
??
??
<xsl:template match="cs:series">
????
<xsl:param 指名する="bib:source" as="element()?" tunnel="yes" />
????
<xsl:適用する-templates>
??????
<xsl:with-param 指名する="bib:source" select="$bib:source/mods:relatedItem[@type='series']" as="element()?" tunnel="yes" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:part-詳細(に述べる)s">
????
<xsl:適用する-templates />
??
</xsl:template>
??
??
<xsl:template match="cs:prefix | cs:suffix">
????
<xsl:value-of select="." />
??
</xsl:template>
??
??
<xsl:template match="cs:問題/発行する">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:part/mods:詳細(に述べる)[@type='問題/発行する']">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:とじ込み/提出する">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:part/mods:詳細(に述べる)[@type='とじ込み/提出する']">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:容積/容量">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:part/mods:詳細(に述べる)[@type='容積/容量']">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:genre">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:genre[text()=$genres]">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:medium">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:physicalDescription">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:pages">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:part/mods:extent[@部隊='page']">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:place">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:originInfo/mods:place">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:publisher">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:originInfo/mods:publisher">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:date">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<!--?the?below?条件付きの?seems?a?bit?of?a?切り開く/タクシー/不正アクセス;?need?to?再考する?later?-->
????
<xsl:variable 指名する="date" select="(../$bib:source/mods:originInfo/mods:dateIssued, $bib:source/mods:originInfo/mods:dateIssued, $bib:source/mods:part/mods:date)[1]" />
????
<xsl:if 実験(する)="cs:month and not($date castable as xs:gYear) or cs:year">
??????
<(期間が)わたる class="date">
????????
<xsl:適用する-templates />
??????
</(期間が)わたる>
????
</xsl:if>
??
</xsl:template>
??
??
<xsl:template match="cs:year">
????
<!--?I'm?not?sure?why?要求するing?the?bib:source?parameter?fails?in?some?事例/患者s?-->
????
<xsl:param 指名する="bib:source" as="element()?" tunnel="yes" />
????
<xsl:param 指名する="prefix" />
????
<xsl:param 指名する="suffix" />
????
<xsl:適用する-templates select="$bib:source/bib:year">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:month">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:param 指名する="prefix" />
????
<xsl:param 指名する="suffix" />
????
<!--?select?声明?is?a?problem;?problem?need?to?move?this?into?a?機能(する)/行事?-->
????
<xsl:適用する-templates select="$bib:source/mods:originInfo/mods:dateIssued|$bib:source/mods:part/mods:date" 方式="month">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:day">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:param 指名する="prefix" />
????
<xsl:param 指名する="suffix" />
????
<xsl:適用する-templates select="$bib:source/mods:originInfo/mods:dateIssued|$bib:source/mods:part/mods:date" 方式="day">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
<!--?end?dates?-->
??
??
<xsl:template match="cs:availability">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:param 指名する="prefix" />
????
<xsl:param 指名する="suffix" />
????
<xsl:適用する-templates select="$bib:source/mods:場所">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>
??
??
<xsl:template match="cs:month-day">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:param 指名する="prefix" />
????
<xsl:param 指名する="suffix" />
????
<xsl:適用する-templates select="$prefix" />
????
<(期間が)わたる class="month-day">
??????
<xsl:適用する-templates select="$bib:source/mods:relatedItem/mods:part/mods:date|$bib:source/mods:relatedItem/mods:originInfo/mods:dateIssued" 方式="date">
????????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
????????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
??????
</xsl:適用する-templates>
????
</(期間が)わたる>
????
<xsl:適用する-templates select="$suffix" />
??
</xsl:template>
??
??
<xsl:template match="cs:公式文書,認める">
????
<xsl:param 指名する="bib:source" as="element()" tunnel="yes" />
????
<xsl:適用する-templates select="$bib:source/mods:公式文書,認める[@type='citation']">
??????
<xsl:with-param 指名する="prefix" select="cs:prefix" />
??????
<xsl:with-param 指名する="suffix" select="cs:suffix" />
????
</xsl:適用する-templates>
??
</xsl:template>

</xsl:stylesheet>






































v

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.