Rendering the citation type in the clause

edited April 5, 2018
I'm developing a style that works differently for the different citation types.

<choose>
<if type="article-journal" match="any"><text macro="format1"/></if>
<else><text value="Type not supported: "/><text variable="type"/></else>
</choose>

This CSL actually works, i.e. if you use a citation type that's not currently supported, it displays the type in the bibliography.

However it fails validation. Is there a more correct way to do this?

Thanks, Rob.
Sign In or Register to comment.