citeproc-0.1: test/csl/condition_EmptyDate.txt
>>===== MODE =====>>
citation
<<===== MODE =====<<
>>===== RESULT =====>>
No date here
Have date, will travel
<<===== RESULT =====<<
>>===== CITATION-ITEMS =====>>
[
[
{
"id": "ITEM-1"
}
],
[
{
"id": "ITEM-2"
}
]
]
<<===== CITATION-ITEMS =====<<
>>===== 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>
<citation>
<layout>
<choose>
<if variable="issued">
<text value="Have date, will travel" />
</if>
<else>
<text value="No date here" />
</else>
</choose>
</layout>
</citation>
</style>
<<===== CSL =====<<
>>===== INPUT =====>>
[
{
"author": [
{
"family": "Doe",
"given": "John"
}
],
"id": "ITEM-1",
"title": "Work 1",
"type": "book"
},
{
"author": [
{
"family": "Doe",
"given": "John"
}
],
"id": "ITEM-2",
"issued": {
"date-parts": [
[
2000
]
]
},
"title": "Work 2",
"type": "book"
}
]
<<===== INPUT =====<<
>>===== VERSION =====>>
1.0
<<===== VERSION =====<<