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


We're ignoring the "nocase" markup here, but no one is
likely to miss it.

2017-01-27: "nocase" markup now recognized.


>>===== RESULT =====>>
SMITH, John: THIS IS A PEN THAT IS A Smith PENCIL
<<===== RESULT =====<<


>>===== CSL =====>>
<style 
      xmlns="http://purl.org/net/xbiblio/csl"
      class="note"
      version="1.0">
  <info>
    <id />
    <title />
    <updated>2009-08-10T04:49:00+09:00</updated>
  </info>
  <macro name="title-or-title-and-translator">
    <choose>
      <if type="webpage">
        <text macro="title"/>
      </if>
      <else>
        <text macro="title" suffix=", "/>
        <names variable="translator">
          <name/>
        </names>
      </else>
    </choose>
  </macro>
  <macro name="title">
    <text variable="title"/>
  </macro>
  <citation>
    <layout>
      <group delimiter=": ">
        <names variable="author">
          <name name-as-sort-order="all">
            <name-part name="family" text-case="uppercase"/>
          </name>
          <substitute>
            <text macro="title-or-title-and-translator"/>
          </substitute>
        </names>
        <text variable="title" text-case="uppercase"/>
      </group>
    </layout>
  </citation>
</style>
<<===== CSL =====<<


>>===== INPUT =====>>
[
    {
        "author": [
            {
                "family": "Smith",
                "given": "John"
            }
        ],
        "id": "ITEM-1",
        "title": "This is a pen that is a <span class=\"nocase\">Smith</span> pencil",
        "type": "book"
    }
]
<<===== INPUT =====<<


>>===== VERSION =====>>
1.0
<<===== VERSION =====<<

