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

翻訳前ページへ


XML source 見解(をとる)
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.16
<xsl:stylesheet xmlns:bib="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:xsl="http://www.w3.org/1999/XSL/Transform" 見解/翻訳/版="2.0" 除外する-result-prefixes="xdoc mods xs cs bib">
??
<!--?===?licensed?under?CC-GNU?GPL;?see?http://creativecommons.org/licenses/GPL/2.0?===?-->
??
??<xdoc:doc type="stylesheet">
????
<xdoc:short>CiteProc?機能(する)/行事s.</xdoc:short>
????
<xdoc:author>Bruce?D’Arcus</xdoc:author>
????
<xdoc:copyright>2004</xdoc:copyright>
??
</xdoc:doc>

??
<!--?||||?date?機能(する)/行事s?||||?-->
??
??<xdoc:doc>when?given?a?bibliographic?記録,記録的な/記録する,?returns?its?出版(物)?year</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="mods:year">
????
<xsl:param 指名する="bibref" as="element(mods:mods)" />
????
<xsl:for-each select="$bibref">
??????
<xsl:variable 指名する="xsd-date" select="(mods:originInfo/mods:dateIssued, mods:relatedItem/mods:originInfo/mods:dateIssued, mods:relatedItem/mods:part/mods:date)[1]" />
??????
<xsl:value-of select="substring($xsd-date,1,4)" />
????
</xsl:for-each>
??
</xsl:機能(する)/行事>
??
<!--?||||?number?扱うing?機能(する)/行事s?||||?-->
??
??<xdoc:doc>崩壊(する)s?a?page?範囲?(許可,名誉などを)与えるing?to?the?Chicago?algorithm.?Probably?needs?to?be
????generalized.
</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="bib:number-condense">
????
<xsl:param 指名する="begin" />
????
<xsl:param 指名する="end" />
????
<xsl:choose>
??????
<xsl:when 実験(する)="$begin castable as xs:integer">
????????
<xsl:variable 指名する="begin" select="xs:integer($begin)" as="xs:integer" />
????????
<xsl:choose>
??????????
<xsl:when 実験(する)="$begin gt 100 and $begin mod 100 and $begin idiv 100 eq $end idiv 100">
????????????
<xsl:value-of select="$end mod 100" />
??????????
</xsl:when>
??????????
<xsl:さもなければ>
????????????
<xsl:value-of select="$end" />
??????????
</xsl:さもなければ>
????????
</xsl:choose>
??????
</xsl:when>
??????
<xsl:さもなければ>
????????
<xsl:value-of select="$end" />
??????
</xsl:さもなければ>
????
</xsl:choose>
??
</xsl:機能(する)/行事>
??
<xsl:variable 指名する="最初の/主要な-contributors" select="('author', 'editor', 'creator', '(衆議院の)議長', 'reviewer')" />
??
<xsl:variable 指名する="第2位-contributors" select="('翻訳家')" />
??
??<xdoc:doc>建設するs?an?authors?string?for?配合?and?sorting.?This?機能(する)/行事?concatenates?all
????authors?into?a?string?so?that?多重の-authors?get?正確に?grouped.?Where?no?author?存在するs?it
????代用品,人s?based?on?CSL?鮮明度/定義s.
</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="mods:配合-重要な" as="xs:string">
????
<xsl:param 指名する="bibref" as="element(mods:mods)" />
????
<xsl:variable 指名する="sort-on" select="mods:sort_on($bibref)" as="xs:string" />
????
<xsl:choose>
??????
<xsl:when 実験(する)="$sort-on='creator'">
????????
<xsl:value-of separator=";">
??????????
<xsl:for-each select="$bibref/mods:指名する[mods:役割/mods:roleTerm=$primary-contributors]">
????????????
<xsl:value-of select="string-join((mods:namePart[@type='family'] | mods:namePart[not(@type)],mods:namePart[@type='given']), ',')" />
??????????
</xsl:for-each>
????????
</xsl:value-of>
??????
</xsl:when>
??????
<xsl:when 実験(する)="$sort-on='コンテナ-肩書を与える'">
????????
<xsl:value-of select="$bibref/mods:relatedItem[@type='host']/mods:titleInfo/mods:肩書を与える" />
??????
</xsl:when>
??????
<xsl:when 実験(する)="$sort-on='肩書を与える'">
????????
<xsl:value-of select="$bibref/mods:titleInfo/mods:肩書を与える" />
??????
</xsl:when>
??????
<xsl:when 実験(する)="$sort-on='匿名の/不明の'">
????????
<xsl:value-of select="'匿名の/不明の'" />
??????
</xsl:when>
????
</xsl:choose>
??
</xsl:機能(する)/行事>
??
??<xdoc:doc>決定するs?what?to?sort?on.</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="mods:sort_on" as="xs:string">
????
<xsl:param 指名する="bibref" as="element(mods:mods)" />
????
<xsl:variable 指名する="use-reftype" select="mods:use_csl-reftype($bibref)" />
????
<xsl:variable 指名する="csl_path" select="if ($citeclass='公式文書,認める-nobib') then $style-citation/cs:first/cs:layout/cs:reftype[@指名する=$use-reftype] else $style-biblio/cs:layout/cs:reftype[@指名する=$use-reftype]" />
????
<xsl:choose>
??????
<xsl:when 実験(する)="$csl_path/cs:creator[1]">
????????
<xsl:choose>
??????????
<xsl:when 実験(する)="$bibref/mods:指名する[mods:役割/mods:roleTerm=$primary-contributors]">
????????????
<xsl:value-of select="'creator'" />
??????????
</xsl:when>
??????????
<xsl:さもなければ>
????????????
<xsl:choose>
??????????????
<xsl:when 実験(する)="$csl_path/cs:creator/@補欠/交替の/交替する-sortkey='コンテナ-肩書を与える'">
????????????????
<xsl:value-of select="'コンテナ-肩書を与える'" />
??????????????
</xsl:when>
??????????????
<xsl:さもなければ>
????????????????
<xsl:value-of select="'匿名の/不明の'" />
??????????????
</xsl:さもなければ>
????????????
</xsl:choose>
??????????
</xsl:さもなければ>
????????
</xsl:choose>
??????
</xsl:when>
??????
<xsl:when 実験(する)="$csl_path/cs:肩書を与える[1]">
????????
<xsl:value-of select="'肩書を与える'" />
??????
</xsl:when>
????
</xsl:choose>
??
</xsl:機能(する)/行事>
??
??<xdoc:doc>決定するs?which?CSL?鮮明度/定義?to?use?for?any?given?MODS?記録,記録的な/記録する.</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="mods:use_csl-reftype" as="xs:string">
????
<xsl:param 指名する="bibref" as="element(mods:mods)" />
????
<xsl:sequence select="if (mods:csl-reftype($bibref)) then (mods:csl-reftype($bibref)) else (mods:csl-fallback($bibref))" />
??
</xsl:機能(する)/行事>
??
??<xdoc:doc>地図/計画するs?a?MODS?言及/関連?type?to?a?CSL?XPATH?表現.</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="mods:csl-reftype" as="xs:string">
????
<xsl:param 指名する="bibref" as="element(mods:mods)" />
????
<xsl:variable 指名する="reftype" select="mods:reftype($bibref)" />
????
<xsl:variable 指名する="csl-style" select="if ($citeclass='公式文書,認める-nobib') then ($style-citation/cs:first/cs:layout/cs:reftype) else ($style-biblio/cs:layout/cs:reftype)" />
????
<xsl:value-of select="$csl-style/@指名する[.=$reftype]" />
??
</xsl:機能(する)/行事>
??
??<xdoc:doc>決定するs?the?CSL?fallback?for?a?MODS?記録,記録的な/記録する.</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="mods:csl-fallback" as="xs:string">
????
<xsl:param 指名する="bibref" as="element(mods:mods)" />
????
<xsl:variable 指名する="bibrefclass" select="mods:refclass($bibref)" />
????
<xsl:choose>
??????
<xsl:when 実験(する)="$bibrefclass='monograph'">
????????
<xsl:value-of select="'調書をとる/予約する'" />
??????
</xsl:when>
??????
<xsl:when 実験(する)="$bibrefclass='part-inMonograph'">
????????
<xsl:value-of select="'一時期/支部'" />
??????
</xsl:when>
??????
<xsl:さもなければ>
????????
<xsl:value-of select="'article'" />
??????
</xsl:さもなければ>
????
</xsl:choose>
??
</xsl:機能(する)/行事>
??
??<xdoc:doc>This?機能(する)/行事?is?central?to?the?formatting?logic?of?the?system.?The?fallback?system
????分類するs?記録,記録的な/記録するs?into?one?of?three?構造上の?classes:?part-inMongraph,?part-inSerial,?and
????mongraph.?It?would?be?平易な?to?追加する?serial?as?a?fourth,?but?I?have?not?yet?設立する?the?need?(does
????one?ever?特記する/引用する?a?serial?as?a?whole?).
</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="mods:refclass" as="xs:string">
????
<xsl:param 指名する="bibref" as="element(mods:mods)?" />
????
<xsl:choose>
??????
<xsl:when 実験(する)="$bibref/mods:relatedItem[@type='host']">
????????
<xsl:variable 指名する="発行" select="$bibref/mods:relatedItem/mods:originInfo/mods:発行" />
????????
<xsl:choose>
??????????
<xsl:when 実験(する)="$issuance='monographic'">part-inMonograph</xsl:when>
??????????
<xsl:さもなければ>part-inSerial</xsl:さもなければ>
????????
</xsl:choose>
??????
</xsl:when>
??????
<xsl:さもなければ>monograph</xsl:さもなければ>
????
</xsl:choose>
??
</xsl:機能(する)/行事>
??
??<xdoc:doc>その上の?分類するs?記録,記録的な/記録するs?into?types?based?on?the?class.?These?types?then?地図/計画する?の上に?the
????citation?style?langauge?鮮明度/定義s.?Article,?一時期/支部?and?調書をとる/予約する?are?the?default?structures?and
????generic?fallbacks.?Most?記録,記録的な/記録するs?will?be?formatted?with?these?"types."?Beyond?these?核心?types,
????付加?types?would?be?defined?by?both?their?genre?values?and?their?likeness?to?the?核心
????types.?The?value?can?be?multi-level?where?applicable:?e.g.?“article-magazine.”
</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="mods:reftype" as="xs:string">
????
<xsl:param 指名する="bibref" as="element(mods:mods)?" />
????
<xsl:value-of>
??????
<xsl:choose>
????????
<xsl:when 実験(する)="$bibref/mods:relatedItem/@type = 'host'">
??????????
<xsl:variable 指名する="発行" select="$bibref/mods:relatedItem/mods:originInfo/mods:発行" />
??????????
<xsl:choose>
????????????
<xsl:when 実験(する)="mods:refclass($bibref) = 'part-inSerial'">
??????????????
<xsl:if 実験(する)="$bibref/mods:relatedItem/mods:genre=('定期刊行物', 'magazine', 'academic 定期刊行物', 'newspaper')">
????????????????
<xsl:text>article</xsl:text>
????????????????
<xsl:text>-</xsl:text>
??????????????
</xsl:if>
??????????????
<xsl:value-of select="($bibref/mods:relatedItem/mods:genre, $bibref/mods:genre)[1]" />
????????????
</xsl:when>
????????????
<xsl:when 実験(する)="mods:refclass($bibref) = 'part-inMonograph'">
??????????????
<xsl:choose>
????????????????
<xsl:when 実験(する)="$bibref/mods:genre">
??????????????????
<xsl:value-of select="$bibref/mods:genre" />
????????????????
</xsl:when>
????????????????
<xsl:さもなければ>
??????????????????
<xsl:text>一時期/支部</xsl:text>
????????????????
</xsl:さもなければ>
??????????????
</xsl:choose>
????????????
</xsl:when>
????????????
<xsl:さもなければ>
??????????????
<xsl:value-of select="$bibref/mods:genre" />
????????????
</xsl:さもなければ>
??????????
</xsl:choose>
????????
</xsl:when>
????????
<xsl:さもなければ>調書をとる/予約する</xsl:さもなければ>
??????
</xsl:choose>
????
</xsl:value-of>
??
</xsl:機能(する)/行事>
??
??<xdoc:doc>Numbers?citations?and?foot/endnotes?together.</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="bib:number-footcite" as="xs:string">
????
<xsl:param 指名する="footcite" as="element()" />
????
<xsl:choose>
??????
<xsl:when 実験(する)="$chapters/db:一時期/支部">
????????
<xsl:for-each select="$footcite">
??????????
<xsl:number level="any" select="." count="db:footnote|db:citation[not(ancestor::db:footnote)]" from="db:一時期/支部" />
????????
</xsl:for-each>
??????
</xsl:when>
??????
<xsl:さもなければ>
????????
<xsl:for-each select="$footcite">
??????????
<xsl:number level="any" select="." count="db:footnote|db:citation[not(ancestor::db:footnote)]" />
????????
</xsl:for-each>
??????
</xsl:さもなければ>
????
</xsl:choose>
??
</xsl:機能(する)/行事>
??
??<xdoc:doc>決定するs?the?first?time?a?言及/関連?is?特記する/引用するd?in?the?text.?Necesary?for?those?styles
????that?make?a?formatting?distinction?between?first?and?その後の?言及/関連s.
</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="bib:first-言及/関連" as="xs:boolean">
????
<xsl:param 指名する="特記する/引用する-ref" as="node()" />
????
<xsl:sequence select="$cite-ref is 重要な('refs', $cite-ref/@linkend, root($cite-ref))[1]" />
??
</xsl:機能(する)/行事>
??
??<xdoc:doc>決定するs?when?a?citation?実行するs?the?"ibid"?条件.</xdoc:doc>

??
<xsl:機能(する)/行事 指名する="bib:ibid" as="xs:boolean">
????
<xsl:param 指名する="citation" as="node()" />
????
<xsl:sequence select="$citation/db:biblioref/@linkend = $citation/先行する::db:biblioref[1]/@linkend" />
??
</xsl:機能(する)/行事>
</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.