csl mods, take 2

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

csl mods, take 2

Bruce D'Arcus-3
OK, I've made further changes to CSL, including:

        - renaming cs:layout to cs:item-layout, and cs:organization to  
        - removed cs:terms wrapper, but added a more general cs:general wrapper
        - removed all the child wrappers there (cs:locators, etc.)
        - moved cs:et_al to be a child of cs:names

Am still contemplating making the cs:dates element much more compact;  
perhaps just a single cs:months element there.

My intention is that this cover all the features we'd need for a 1.0  
release. The big addition, of course, is the multibib-like support for  
grouping in the reference list.

Thoughts?  Here's a minimal example (missing most of the meat, but  
showing the structure):

<?xml version="1.0" encoding="UTF-8"?>
citationstyle.rnc" type="compact"?>
<citationstyle xmlns="http://purl.org/NET/xbiblio/csl"  
       <title>Some Title</title>
          <names and-as="and">
             <et_al renderas="et al."/>
          <locator type="page" renderas-single="p"  
          <genre type="letter" renderas="letter"/>
          <medium type="CD" renderas="CD"/>
       <citation delimiter=";" prefix="(" suffix=")">
          <use-et_al min-authors="4" use-first="3"/>
       <bibliography author-as-sort-order="first-author"  
          <use-et_al min-authors="4" use-first="3"/>
             <section group-by="named group" group-name="primary">
                <heading>Primary Sources</heading>
                   <heading>Published Sources</heading>
                <subsection group-by="named group"  
                   <heading>Unpublished Sources</heading>
                <heading>Secondary Sources</heading>
             <reftype name="book">
                <title capitalize="title case"/>