>>===== MODE =====>>
citation
<<===== MODE =====<<


# Note: The only difference between this test and the corresponding
# test in Spanish is that the latter has the default-locale attribute
# of the CSL style node set to "es".  Both the item data and the body
# of the CSL code are otherwise identical.

>>===== RESULT =====>>
Rosales, Osvaldo and Mikio Kuwayama (2007), “América latina y china e india: hacia una nueva alianza de comercio e inversión,” Serie de Comercio Internacional, N° 81 (LC/L.2656-P), Santiago, United Nations - ECLAC, January. United Nations Publication, sales N°: S.07.II.G.6.
<<===== RESULT =====<<


>>===== CSL =====>>
<style 
      xmlns="http://purl.org/net/xbiblio/csl"
      class="note"
      version="1.1mlz1"
      default-locale="en-US-x-translat-en">
  <info>
    <title>Test fixture</title>
    <id>http://citationstyles.org/tests/fixture</id>
    <link href="http://citationstyles.org/tests/fixture" rel="self"/>
    <link href="http://citationstyles.org/documentation/text" rel="documentation"/>
    <category citation-format="author-date"/>
    <updated>2014-04-30T13:19:38+00:00</updated>
    <rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
  </info>
  <locale xml:lang="en">
    <style-options punctuation-in-quote="true"/>
    <terms>
      <term name="number-00">United Nations Publication, sales N°</term>
      <term name="number-01">N°</term>
    </terms>
  </locale>
  <locale xml:lang="es">
    <style-options punctuation-in-quote="true"/>
    <terms>
      <term name="number-00">Publicación de las Naciones Unidas, Nº de venta</term>
      <term name="number-01">N°</term>
      <term name="month-01">enero</term>
      <term name="month-02">febrero</term>
      <term name="month-03">marzo</term>
      <term name="month-04">abril</term>
      <term name="month-05">mayo</term>
      <term name="month-06">junio</term>
      <term name="month-07">julio</term>
      <term name="month-08">agosto</term>
      <term name="month-09">septiembre</term>
      <term name="month-10">octubre</term>
      <term name="month-11">noviembre</term>
      <term name="month-12">diciembre</term>
      <term name="month-01" form="short">ene</term>
      <term name="month-02" form="short">feb</term>
      <term name="month-03" form="short">mar</term>
      <term name="month-04" form="short">abr</term>
      <term name="month-05" form="short">may</term>
      <term name="month-06" form="short">jun</term>
      <term name="month-07" form="short">jul</term>
      <term name="month-08" form="short">ago</term>
      <term name="month-09" form="short">sep</term>
      <term name="month-10" form="short">oct</term>
      <term name="month-11" form="short">nov</term>
      <term name="month-12" form="short">dic</term>
    </terms>
  </locale>
  <macro name="un-sales-number-identifier">
    <group delimiter=": ">
      <text term="number-00"/>
      <number variable="issue"/>
    </group>
  </macro>
  <macro name="issued-month">
    <date variable="issued">
      <date-part name="month"/>
    </date>
  </macro>
  <macro name="publisher">
    <text variable="publisher"/>
  </macro>
  <macro name="publisher-place">
    <text variable="publisher-place"/>
  </macro>
  <macro name="document-number-parens-un-only">
    <choose>
      <if jurisdiction="un.org">
        <number variable="number" prefix="(" suffix=")"/>
      </if>
    </choose>
  </macro>
  <macro name="collection-identifier">
    <group delimiter=", ">
      <text variable="collection-title"/>
      <group delimiter=" ">
        <text term="number-01" />
        <number variable="collection-number"/>
      </group>
    </group>
  </macro>
  <macro name="title-quotes">
    <text variable="title" quotes="true"/>
  </macro>
  <macro name="issued-year-parens">
    <date variable="issued" form="text" date-parts="year" prefix="(" suffix=")"/>
  </macro>
  <macro name="author-full-sofirst">
    <names variable="author">
      <name name-as-sort-order="first" sort-separator=", " and="text"/>
      <substitute>
        <text variable="publisher"/>
      </substitute>
    </names>
  </macro>
  <citation>
    <layout>
      <group delimiter=" " suffix=".">
        <group suffix=".">
          <group delimiter=", ">
            <group delimiter=" ">
              <text macro="author-full-sofirst"/>
              <text macro="issued-year-parens"/>
            </group>
            <text macro="title-quotes"/>
            <group delimiter=" ">
              <text macro="collection-identifier"/>
              <text macro="document-number-parens-un-only"/>
            </group>
            <text macro="publisher-place"/>
            <text macro="publisher"/>
            <text macro="issued-month"/>
          </group>
        </group>
        <choose>
          <if jurisdiction="un.org">
            <text macro="un-sales-number-identifier"/>
          </if>
        </choose>
      </group>
    </layout>
  </citation>
</style>
<<===== CSL =====<<


>>===== INPUT =====>>
[
    {
        "author": [
            {
                "family": "Rosales", 
                "given": "Osvaldo", 
                "static-ordering": false
            }, 
            {
                "family": "Kuwayama", 
                "given": "Mikio", 
                "static-ordering": false
            }
        ], 
        "collection-number": "81", 
        "collection-title": "Serie de Comercio Internacional", 
        "id": "ITEM-1", 
        "issue": "S.07.II.G.6", 
        "issued": {
            "date-parts": [
                [
                    "2007", 
                    "1"
                ]
            ]
        }, 
        "jurisdiction": "un.org", 
        "language": "es", 
        "multi": {
            "_keys": {
                "publisher": {
                    "en": "United Nations - ECLAC"
                }, 
                "publisher-place": {
                    "en": "Santiago"
                }
            }
        }, 
        "number": "LC/L.2656-P", 
        "publisher": "Naciones Unidas - ECLAC", 
        "publisher-place": "Santiago de Chile", 
        "title": "América latina y china e india: hacia una nueva alianza de comercio e inversión", 
        "type": "book"
    }
]
<<===== INPUT =====<<
