Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

functions.xsl

CiteProc functions.
Author:
Bruce D’Arcus
Copyright:
2004

Functions Summary

xs:boolean�bib:first-reference (param: node()�cite-ref) - source
Determines the first time a reference is cited in the text
xs:boolean�bib:ibid (param: node()�citation) - source
Determines when a citation fulfills the "ibid" condition
bib:number-condense (param: begin,�end) - source
Collapses a page range according to the Chicago algorithm
xs:string�bib:number-footcite (param: element()�footcite) - source
Numbers citations and foot/endnotes together
xs:string�mods:csl-fallback (param: element(mods:mods)�bibref) - source
Determines the CSL fallback for a MODS record
xs:string�mods:csl-reftype (param: element(mods:mods)�bibref) - source
Maps a MODS reference type to a CSL XPATH expression
xs:string�mods:grouping-key (param: element(mods:mods)�bibref) - source
Constructs an authors string for grouping and sorting
xs:string�mods:refclass (param: element(mods:mods)?�bibref) - source
This function is central to the formatting logic of the system
xs:string�mods:reftype (param: element(mods:mods)?�bibref) - source
Further classifies records into types based on the class
xs:string�mods:sort_on (param: element(mods:mods)�bibref) - source
Determines what to sort on
xs:string�mods:use_csl-reftype (param: element(mods:mods)�bibref) - source
Determines which CSL definition to use for any given MODS record
mods:year (param: element(mods:mods)�bibref) - source
when given a bibliographic record, returns its publication year

Functions Detail

xs:boolean�bib:first-reference (param: node()�cite-ref) - source
Determines the first time a reference is cited in the text
Necesary for those styles that make a formatting distinction between first and subsequent references.
Parameters:
node()�cite-ref -
xs:boolean�bib:ibid (param: node()�citation) - source
Determines when a citation fulfills the "ibid" condition
Parameters:
node()�citation -
bib:number-condense (param: begin,�end) - source
Collapses a page range according to the Chicago algorithm
Probably needs to be generalized.
Parameters:
begin -
end -
xs:string�bib:number-footcite (param: element()�footcite) - source
Numbers citations and foot/endnotes together
Parameters:
element()�footcite -
xs:string�mods:csl-fallback (param: element(mods:mods)�bibref) - source
Determines the CSL fallback for a MODS record
Parameters:
element(mods:mods)�bibref -
xs:string�mods:csl-reftype (param: element(mods:mods)�bibref) - source
Maps a MODS reference type to a CSL XPATH expression
Parameters:
element(mods:mods)�bibref -
xs:string�mods:grouping-key (param: element(mods:mods)�bibref) - source
Constructs an authors string for grouping and sorting
This function concatenates all authors into a string so that multiple-authors get correctly grouped. Where no author exists it substitutes based on CSL definitions.
Parameters:
element(mods:mods)�bibref -
xs:string�mods:refclass (param: element(mods:mods)?�bibref) - source
This function is central to the formatting logic of the system
The fallback system classifies records into one of three structural classes: part-inMongraph, part-inSerial, and mongraph. It would be easy to add serial as a fourth, but I have not yet found the need (does one ever cite a serial as a whole?).
Parameters:
element(mods:mods)?�bibref -
xs:string�mods:reftype (param: element(mods:mods)?�bibref) - source
Further classifies records into types based on the class
These types then map onto the citation style langauge definitions. Article, chapter and book are the default structures and generic fallbacks. Most records will be formatted with these "types." Beyond these core types, additional types would be defined by both their genre values and their likeness to the core types. The value can be multi-level where applicable: e.g. “article-magazine.”
Parameters:
element(mods:mods)?�bibref -
xs:string�mods:sort_on (param: element(mods:mods)�bibref) - source
Determines what to sort on
Parameters:
element(mods:mods)�bibref -
xs:string�mods:use_csl-reftype (param: element(mods:mods)�bibref) - source
Determines which CSL definition to use for any given MODS record
Parameters:
element(mods:mods)�bibref -
mods:year (param: element(mods:mods)�bibref) - source
when given a bibliographic record, returns its publication year
Parameters:
element(mods:mods)�bibref -

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.