Skip to content

Update the formatting for W3C BibXML files #473

Description

@tedharrison-rpc

Currently, if I use the BibXML service to cite a W3C document I will receive the following output:

   [W3C.REC-xml-20060816]
              Maler, E., Ed., Yergeau, F., Ed., Paoli, J., Ed.,
              Sperberg-McQueen, M., Ed., and T. Bray, Ed., "Extensible
              Markup Language (XML) 1.0 (Fourth Edition)", W3C REC REC-
              xml-20060816, W3C REC-xml-20060816, 16 August 2006,
              <https://www.w3.org/TR/2006/REC-xml-20060816/>.

With the content of the BibXML looking something like this:

<reference anchor="W3C.REC-xml-20060816" target="https://www.w3.org/TR/2006/REC-xml-20060816/">
  <front>
    <title>Extensible Markup Language (XML) 1.0 (Fourth Edition)</title>
    <author fullname="Eve Maler" role="editor"/>
    <author fullname="François Yergeau" role="editor"/>
    <author fullname="Jean Paoli" role="editor"/>
    <author fullname="Michael Sperberg-McQueen" role="editor"/>
    <author fullname="Tim Bray" role="editor"/>
    <date day="16" month="August" year="2006"/>
  </front>
  <seriesInfo name="W3C REC" value="REC-xml-20060816"/>
  <seriesInfo name="W3C" value="REC-xml-20060816"/>
</reference>

We (the RPC) are updating our style guidance for references and would like the output of W3C references to follow something like this template for a specific version of a W3C Recommendation:

<reference anchor="cite-tag" target="URL of specific version">
     <front>
       <title>Title</title>
       <author initials="" surname="" fullname="">
         <organization />
       </author>
       <date day="" month="" year="" />
     </front>
     <refcontent>W3C Recommendation</refcontent>
     <annotation>Latest version available at <eref target="URL" brackets="angle"/>.</annotation>
   </reference>

This would remove the two instances of <seriesInfo> and replace them with a <refcontent> element containing the type of W3C document being referenced.

This change would also add an <annotation> element that would include the "Latest version" URL.

Please let us know if this is doable and if you need more info/clarification.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions