citestyle XML DTD: User Element View | [DTD Element View]
[Home] [Elements] | [Prev] [Next]

# Element PUBDATE

## Synopsis

### Content Model

    (PRECEEDING?,FOLLOWING?,FIRSTSEP?,SECONDSEP?)

### Attributes

Name | Type | Default Value
--- | --- | ---
SEQUENCE | Enumeration: DMY MDY MY Y YMD | "Y"
FORMAT | Enumeration: NO YES | "YES"
YEARFORMAT | Enumeration: FOURDIGIT ROMANYEAR TWODIGIT | "FOURDIGIT"
MONTHFORMAT | Enumeration: ABBREVDOT ARABICMONTH FULL ROMANMONTH THREELETTER | "ARABICMONTH"
PADLEADINGZERO | Enumeration: NN YY | "NN"
ROLE | Enumeration: ALL PRIMARY SECONDARY | "PRIMARY"
STYLE | Enumeration: BOLD BOLDITALIC BOLDITULINE BOLDULINE ITALIC ITULINE NONE SUB SUPER ULINE | None
DAYFORMAT | Enumeration: ARABICDAY ROMANDAY | "ARABICDAY"

## Description

PUBDATE describes how the publication date is rendered. You can use the FIRSTSEP and SECONDSEP elements to specify the first and second separator, respectively, between day, month, and year, if applicable.

Set the FORMAT attribute to "NO" to switch off all formatting. The publication date string will be printed as it was entered into the database.

The SEQUENCE attribute selects where and whether at all day, month, and year should appear.

The DAYFORMAT, MONTHFORMAT, and YEARFORMAT attributes specify the formatting of the day, month, and year parts, respectively.

Set PADLEADINGZERO to "YY" if single-digit day and month numbers should be padded with a leading zero.

Use the ROLE attribute to specify whether this element describes the primary or secondary date. The value of "ALL" indicates that the processing application should first try the primary date. If this information is not available, it should try the secondary date.

The STYLE attribute selects the font formatting.

### Parents

AUTHORONLY, INTEXTDEF, PUBTYPE, YEARONLY

### Children

FIRSTSEP, FOLLOWING, PRECEEDING, SECONDSEP

## Example

    <PUBDATE FORMAT="YES" SEQUENCE="MDY" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY">
    <FOLLOWING>, </FOLLOWING>
    <FIRSTSEP>-</FIRSTSEP>
    <SECONDSEP>-</SECONDSEP>
    </PUBDATE>

HTML Presentation of citestyle XML DTD by DTDParse (version 2.00).