>>===== MODE =====>>
bibliography
<<===== MODE =====<<



>>===== RESULT =====>>
<div class="csl-bib-body">
  <div class="csl-entry">Doe John A. &#38; Bloggs Joe A. (2011). Title 3. <i>Test</i> <b>3,</b> 3–4.</div>
  <div class="csl-entry">Doe John A. &#38; Smith John A. (2010). Title 2. <i>Test</i> <b>2,</b> 1–2.</div>
  <div class="csl-entry">Doe Jane B. &#38; Doe John A. (2009). Title 1. <i>Test</i> <b>1,</b> 1–2.</div>
</div>
<<===== RESULT =====<<


>>===== CSL =====>>
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="sort-only" page-range-format="expanded">
	<info>
		<title>The Journal of Physiology (dev)</title>
		<id>http://www.zotero.org/styles/journal-of-physiology</id>
		<link href="http://www.zotero.org/styles/journal-of-physiology" rel="self"/>
		<issn>0022-3751</issn> <!--Print-->
		<issn>1469-7793</issn> <!--Online-->
		<author>
			<name>Omar Mian</name>
			<email>o.mian@ucl.ac.uk</email>
		</author>
		<category citation-format="author-date"/>
		<category field="biology"/>
		<category field="medicine"/>
		<updated>2011-06-04T15:00:00+00:00</updated>
		<summary>Style for The Journal of Physiology</summary>
		<link href="http://jp.physoc.org/site/misc/author.xhtml" rel="documentation"/>
		<link href="http://www.zotero.org/styles/journal-neuroscience" rel="template"/>
		<rights>This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License: http://creativecommons.org/licenses/by-sa/3.0/</rights>
	</info>
	<locale>
		<terms>
			<term name="edition" form="short">edn.</term>
		</terms>
	</locale>
	<macro name="editor">
		<names variable="editor">
			<label form="verb-short" text-case="lowercase" suffix=". "/>
			<name and="symbol" delimiter=", " name-as-sort-order="all"  initialize-with="" delimiter-precedes-last="never"/>
		</names>
	</macro>
	<macro name="anon">
		<text term="anonymous" form="short" text-case="capitalize-first" strip-periods="true"/>
	</macro>
	<macro name="author-bib">
		<names variable="author">
			<name and="symbol" name-as-sort-order="all" sort-separator=" " delimiter=", " delimiter-precedes-last="never"/>
			<label form="short" prefix=" " suffix="." text-case="lowercase" strip-periods="true"/>
			<substitute>
				<names variable="editor"/>
				<text macro="anon"/>
			</substitute>
		</names>
	</macro>
	<macro name="bib-sort-1">
		<names variable="author">
			<name name-as-sort-order="all"/>
		</names>
	</macro>
	<macro name="bib-sort-2"> 
		<names variable="author">
			<name name-as-sort-order="all"  initialize-with=""/>
		</names>
	</macro>
	<macro name="bib-sort-3"> 
		<names variable="author">
			<name name-as-sort-order="all" form="short"/>
		</names>
	</macro>
	<macro name="author-cit">
		<names variable="author">
			<name form="short" and="symbol" delimiter=" " initialize-with=""/>
			<et-al font-style="italic" prefix=" "/>
			<substitute>
				<names variable="editor"/>
				<names variable="translator"/>
				<text macro="anon"/>
			</substitute>
		</names>
	</macro>
	<macro name="access">
		<choose>
			<if type="article-journal" variable="page" match="all">
				<!--No need to display access URL if journal article has page numbers-->
				</if>
			<else-if type="article-journal" variable="DOI" match="all">
				<!--No need to display access URL if journal article has doi-->
				</else-if>
			<else-if variable="URL">
				<text value="Available at:" suffix=" "/>
				<text variable="URL"/>
				<group prefix=" [" suffix="]">
					<text term="accessed" text-case="capitalize-first" suffix=" "/>
					<date variable="accessed">
						<date-part name="month" suffix=" "/>
						<date-part name="day" suffix=", "/>
						<date-part name="year"/>
					</date>
				</group>
			</else-if>
		</choose>
	</macro>
	<macro name="vol-page">
		<choose>
			<if variable="page">
				<group  prefix=" " suffix=" " font-weight="bold">
					<!--making group bold so that comma after volume is also bold-->
					<text variable="volume" suffix=","/>
				</group>
				<text variable="page"/>
			</if>
			<else>
				<text variable="DOI" prefix="; DOI: "/>
			</else>
		</choose>
	</macro>
	<macro name="title">
		<choose>
			<if type="bill book graphic legal_case motion_picture report song" match="any">
				<text variable="title" font-style="italic"/>
			</if>
			<else>
				<text variable="title"/>
			</else>
		</choose>
	</macro>
	<macro name="pages-chapter-conf">
		<group prefix=", ">
			<label variable="page" form="short"/>
			<text variable="page" prefix=" "/>
		</group>
	</macro>
	<macro name="publisher">
		<group delimiter=", ">
			<text variable="publisher"/>
			<text variable="publisher-place"/>
		</group>
	</macro>
	<macro name="thesis-title">
		<group prefix=" " delimiter="" suffix=".">
			<text variable="title" font-style="italic"/>
			<group prefix=" (" suffix=")" delimiter=" ">
				<choose>
					<if variable="genre">
						<text variable="genre"/>
					</if>
				</choose>
				<text value="thesis"/>
			</group>
		</group>
	</macro>
	<macro name="paper-conf">
		<text macro="title" prefix=" " suffix="."/>
		<choose>
			<if variable="container-title">
				<group prefix=" " suffix=".">
					<text term="in" text-case="capitalize-first"/>
					<text variable="container-title" font-style="italic" prefix=" "/>
					<text macro="pages-chapter-conf"/>
				</group>
				<text macro="publisher" prefix=" "/>
			</if>
			<else>
				<text variable="event" font-style="italic" prefix=" "/>
				<text macro="publisher" prefix=". "/>
			</else>
		</choose>
	</macro>
	<macro name="year-date">
		<choose>
			<if variable="issued">
				<date variable="issued">
					<date-part name="year"/>
				</date>
				<text variable="year-suffix" font-style="italic"/>
			</if>
			<else>
				<text term="no date" form="short"/>
			</else>
		</choose>
	</macro>
	<macro name="year-sort">
		<choose>
			<if variable="issued">
				<date variable="issued">
					<date-part name="year"/>
				</date>
				<text variable="year-suffix" font-style="italic"/>
			</if>
		</choose>
	</macro>
	<macro name="edition">
		<choose>
			<if is-numeric="edition">
				<group delimiter=" ">
					<number variable="edition" form="ordinal"/>
					<text term="edition" form="short" suffix="." strip-periods="true"/>
				</group>
			</if>
			<else>
				<text variable="edition" suffix="."/>
			</else>
		</choose>
	</macro>
	<citation et-al-min="3" et-al-use-first="1" disambiguate-add-year-suffix="true" collapse="year">
		<sort>
			<key variable="issued"/>
			<key variable="author"/>
		</sort>
		<layout prefix="(" suffix=")" delimiter="; ">
			<group delimiter=" ">
				<group delimiter=", ">
					<text macro="author-cit"/>
					<text macro="year-date"/>
				</group>
				<text variable="locator" prefix="p."/>
			</group>
		</layout>
	</citation>
	<bibliography hanging-indent="true" et-al-min="20" et-al-use-first="1">
		<sort>
			<key macro="bib-sort-2"/>
			<key macro="year-date"/>
		</sort>
		<layout suffix=".">
			<group delimiter=" " suffix=".">
				<text macro="author-bib"/>
				<text macro="year-date" prefix="(" suffix=")"/>
			</group>
			<choose>
				<if type="bill book graphic legal_case motion_picture report song" match="any">
					<group prefix=" " delimiter="" suffix=".">
						<text macro="title"/>
						<text macro="edition" prefix=", "/>
						<text macro="editor"/>
					</group>
					<text prefix=" " suffix="." macro="publisher"/>
				</if>
				<else-if type="thesis">
					<text macro="thesis-title"/>
					<text prefix=" " suffix="." macro="publisher"/>
				</else-if>
				<else-if type="chapter">
					<text macro="title" prefix=" " suffix="."/>
					<group prefix=" " suffix=".">
						<text term="in" text-case="capitalize-first"/>
						<text variable="container-title" font-style="italic" prefix=" "/>
						<text macro="edition" prefix=", "/>
						<text macro="editor" prefix=", "/>
						<text variable="collection-title" prefix=", "/>
						<text macro="pages-chapter-conf"/>
					</group>
					<group prefix=" ">
						<text macro="publisher" prefix=" "/>
					</group>
				</else-if>
				<else-if type="paper-conference">
					<text macro="paper-conf"/>
				</else-if>
				<else>
					<group suffix="." delimiter=" " prefix=" ">
						<text macro="title"/>
						<text macro="editor"/>
					</group>
					<group prefix=" ">
						<text variable="container-title" font-style="italic" form="short" strip-periods="true"/>
						<text macro="vol-page"/>
					</group>
				</else>
			</choose>
			<text prefix=". " macro="access" suffix=""/>
		</layout>
	</bibliography>
</style>
<<===== CSL =====<<


>>===== INPUT =====>>
[
    {
        "author": [
            {
                "family": "Doe",
                "given": "Jane B."
            },
            {
                "family": "Doe",
                "given": "John A."
            }
        ],
        "container-title": "Test",
        "id": 19,
        "issued": {
            "date-parts": [
                [
                    2009
                ]
            ]
        },
        "page": "1-2",
        "title": "Title 1",
        "type": "article-journal",
        "volume": "1"
    },
    {
        "author": [
            {
                "family": "Doe",
                "given": "John A."
            },
            {
                "family": "Smith",
                "given": "John A."
            }
        ],
        "container-title": "Test",
        "id": 25,
        "issued": {
            "date-parts": [
                [
                    2010
                ]
            ]
        },
        "page": "1-2",
        "title": "Title 2",
        "type": "article-journal",
        "volume": "2"
    },
    {
        "author": [
            {
                "family": "Doe",
                "given": "John A."
            },
            {
                "family": "Bloggs",
                "given": "Joe A."
            }
        ],
        "container-title": "Test",
        "id": 27,
        "issued": {
            "date-parts": [
                [
                    2011
                ]
            ]
        },
        "page": "3-4",
        "title": "Title 3",
        "type": "article-journal",
        "volume": "3"
    }
]
<<===== INPUT =====<<


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

