CSL varibale URL not showing

edited November 16, 2024
Hi,

In CSL
<text variable="URL" prefix=". " />
doesn't produce output.


This is my CSL:

<macro name="m-doi-url">
<choose>
<if variable="DOI" match="any" >
<text variable="DOI" prefix=". " />
</if>
<else-if variable="URL" match="any" >
<text variable="URL" prefix=". " />
</else-if>
</choose>
</macro>


This is the Object retrieved through "Run JavaScript"
[
"0": {
"key": "XQZUJQRU",
"version": 73,
"itemType": "journalArticle",
"title": "A B Libertus Fromondus’ escape from the labyrinth of the continuum (1631)",
"date": "2015",
"url": "http://www.urlsomething.com",
}]

Thank you for any ideas.
Kindest regards
Joep
Sign In or Register to comment.