CBML Tag Set Documentation |
This CBML Tag Set Documentation is preliminary and in draft form, but we hope it will be useful for those adventurous souls experimenting with CBML at this early stage in its development.
| <ad> | (advertisement) A subdivision that contains a single advertisement. |
| Attributes | Global attributes and those inherited from declaring, divn. |
| Example |
<ad>
<head>
Ugly Blackheads — Out in Seconds
</head>
<p>
<productName>VACUTEX</productName>
</p>
<p>
Keep your complexion free of black heads — look attractive
instantly. Scientifically designed vacuum pump gently "lifts" out
ugly blackheads safely. No pinching or squeezing. Made in U.S.A. —
beware of imitations. Try 10 days — if not delighted return for
refund. send <measure reg="2.00" subtype="usd"
type="currency">$2</measure> plus <measure reg="0.25"
subtype="usd" type="currency">25¢</measure> pstg. & hdlg.
<address>
<orgName>
BALLCO PROD. CO., INC.
</orgName>
<street>
181 MAIN ST. DEPT. 310-A,
</street>
<placeName>
<settlement type="city">
WESTPORT
</settlement>
,
<region reg="CT" type="state">
CONN.
</region>
</placeName>
<postCode>
06881
</postCode>
</address>
</p>
</ad>
|
| Class(es) | declaring, divn |
| Declaration | <!ELEMENT ad ( (%m.divtop; | %m.Incl; )*, ((ad | div | divGen | panel),
(%m.Incl;)*)+ | ((%component;, (%m.Incl;)*)+,
((ad | div | divGen | panel), (%m.Incl;)*)*)),
((%m.divbot;),(%m.Incl;)*)*) >
<!ATTLIST ad
%a.global;
%a.divn;
%a.declaring;
TEIform CDATA #FIXED 'div'">
|
| <advisory> | Contains an advisory or caution, such as the Comics Code Authority seal of approval or other parental guidance advisory. |
| Attributes | Global attributes and those inherited from typed. |
| Example |
<advisory type='cca'>APPROVED BY THE COMICS CODE AUTHORITY </advisory> |
| Class(es) | typed |
| Declaration | <!ELEMENT advisory %om.RR; %paraContent;>
<!ATTLIST advisory
%a.global;
%a.typed;
TEIform CDATA #FIXED "ab">
|
| <balloon> | Contains an individual speech or thought balloon. Based on the TEI <sp> element. | ||
| Attributes | (In addition to Global attributes.)
| ||
| Example |
<balloon type="speech" who="robin"> <p>Holy cow! Batman! That's one big fish!</p> </balloon> | ||
| Example |
<balloon type="speech" who="iron_man thor cap antman"> <p>Avengers Assemble!</p> </balloon> | ||
| Notes | |||
| Declaration |
<!ELEMENT %n.sp; %om.RO; ((%m.Incl;)*, (speaker, (%m.Incl;)*)?,
((%n.p; | %n.l; | %n.lg; | %n.ab; | %n.seg; | %n.stage;), (%m.Incl;)*)+)>
<!ATTLIST %n.sp;
%a.global;
who IDREFS #IMPLIED
type CDATA "speech"
TEIform CDATA #FIXED "sp">
|
| <caption> | Contains a narrative caption that occurs typically at the top of a panel in a comic. |
| Example |
<panel n="1" characters="cap leila falc">
<caption>
The <emph rend="bold">trial</emph> of the Falcon is ended, and its
<emph rend="bold">memories</emph> put out of the <emph
rend="bold">minds</emph> of Sam Wilson and Cap, and so, days later
in New York…
</caption>
<balloon who="cap">
<p>
Bring on the health food Leila… It may save the <emph
rend="bold">Falcon</emph> from a bruised ego…
</p>
</balloon>
<!-- other balloons here -->
</panel>
|
| Notes | |
| Declaration | <!ELEMENT caption %om.RO; %paraContent;>
<!ATTLIST caption
%a.global;>
|
| <cbml> | (CBML document) contains a single CBML document, comprising a CBML header (<cbmlHeader>) and a comic or graphic novel (<comic>), either in isolation or as part of a <cbmlCorpus> element. |
| Notes | |
| Declaration | <!ELEMENT cbml %om.RO; (cbmlHeader, comic)>
<!ATTLIST cbml
%a.global;>
|
| <cbmlCorpus> | (CBML corpus) contains the whole of a CBML encoded corpus, comprising a single corpus header and one or more cbml elements, each containing a single text header and a text. |
| Notes | |
| Declaration | <!ELEMENT cbmlCorpus %om.RO; (cbmlHeader, cbml+)>
<!ATTLIST cbmlCorpus
%a.global;>
|
| <cbmlHeader> | (TEI Header) supplies the descriptive and declarative information making up an "electronic title page" prefixed to every CBML text. |
| Example |
<cbmlHeader>
<fileDesc>
<titleStmt>
<title>Captain America 193: An Electronic Edition</title>
<principal>
Walsh, John A.
</principal>
</titleStmt>
<publicationStmt>
<publisher>
Indiana University CBML Project
</publisher>
<pubPlace>
Bloomington, Indiana
</pubPlace>
<idno type="cbml">
0000001
</idno>
<availability status="restricted">
<p>
Original source material is copyright © 1975 by Marvel
Comics Group. The original editorial contributions of this
electronic edition are copyright © 2002 John A. Walsh
and the Trustees of Indiana University.
</p>
</availability>
<date value="2003-00-00">
2003
</date>
</publicationStmt>
<sourceDesc>
<biblFull>
<titleStmt>
<title level="monograph" type="main">The Madbomb Screamer in the Brain</title>
<title level="monograph" type="parallel">"Madbomb": It Can Destroy the World!</title>
<respStmt>
<resp type="creator" subtype="writer"/><name reg="Kirby, Jack">Jack Kirby</name>
</respStmt>
<respStmt>
<resp type="creator" subtype="penciller"/><name reg="Kirby, Jack">Jack Kirby</name>
</respStmt>
<respStmt>
<resp type="creator" subtype="inker"/><name reg="Giacoia, Frank">Frank Giacoia</name>
</respStmt>
<respStmt>
<resp type="contributor" subtype="letter"/><name reg="Costanza, John">John Costanza</name>
</respStmt>
<respStmt>
<resp type="contributor" subtype="colorist"/><name reg="Cohen, Janice">Janice Cohen</name>
</respStmt>
</titleStmt>
<publicationStmt>
<publisher>
Marvel Comics Group
</publisher>
<pubPlace>
New York, New York
</pubPlace>
<availability status="restricted">
<p>
Copyright © 1975 by Marvel Comics Group
</p>
</availability>
<date value="1076-01-00">
January, 1976
</date>
</publicationStmt>
<seriesStmt>
<title level="journal">Captain America</title>
<idno type="volume">
1
</idno>
<idno type="issue">
193
</idno>
</seriesStmt>
</biblFull>
</sourceDesc>
</fileDesc>
<encodingDesc>
<tagsDecl>
<rendition type="css" id="italic">
font-style: italic;
</rendition>
<rendition type="css" id="bold">
font-weight: bold;
</rendition>
<rendition type="css" id="underline">
font-rendition: underline;
</rendition>
<rendition type="custom" id="outline">
outline
</rendition>
<rendition type="custom" id="splash">
splash
</rendition>
</tagsDecl>
</encodingDesc>
<profileDesc>
<characterList>
<characterItem>
<persona id="cap" type="hero">
Captain America
</persona>
<persona id="steve_rogers">
Steve Rogers
</persona>
</characterItem>
<characterItem>
<persona id="falc" type="hero">
The Falcon
</persona>
<persona id="sam_wilson">
Sam Wilson
</persona>
</characterItem>
<characterItem>
<persona id="leila">
Leila
</persona>
</characterItem>
<characterItem>
<persona id="kissinger">
Henry Kissinger
</persona>
</characterItem>
<characterItem>
<persona id="anon_man">
Anonymous Man
</persona>
</characterItem>
<characterItem>
<persona id="anon_woman">
Anonymous Woman
</persona>
</characterItem>
</characterList>
</profileDesc>
</cbmlHeader>
|
| Declaration | <!ELEMENT cbmlHeader %om.RR; (fileDesc, encodingDesc*, profileDesc*,
revisionDesc?)>
<!ATTLIST cbmlHeader
%a.global;
type CDATA "text"
creator CDATA #IMPLIED
status (new | update) "new"
date.created %ISO-date; #IMPLIED
date.updated %ISO-date; #IMPLIED>
|
| <characterGroup> | (Character list grouping) groups one or more individual <characterItem> elements within a character list. |
| Attributes | Global attributes only. |
| Notes | |
| Declaration | <!ELEMENT characterGroup %om.RR; ((%m.Incl;)*, (head, (%m.Incl;)*)?,
((characterItem | characterGroup), (%m.Incl;)*)+,
(trailer, (%m.Incl;)*)?)>
<!ATTLIST characterGroup
%a.global;>
|
| <characterItem> | (Character list item) contains a single entry within a character list, describing either a single character or a list of personae, or identities, which are common for instance in superhero comics. | ||
| Attributes | (In addition to Global attributes.)
| ||
| Notes | |||
| Declaration | <!ELEMENT characterItem %om.RO; (#PCDATA | persona | personaDesc |
| %m.phrase; | %m.Incl; )*>
<!ATTLIST characterItem
%a.global;
type (persona | list) "persona">
|
| <characterList> | (character list) contains a single character list. |
| Attributes | Global attributes and those inherited from comp.drama, dramafront, inter. |
| Notes | |
| Class(es) | comp.drama, dramafront, inter |
| Declaration | <!ELEMENT characterList %om.RR; ((%m.divtop; | %m.Incl;)*,
((%component;), (%m.Incl;)*)*,
((characterItem | characterGroup), (%m.Incl;)*)+,
((%component;), (%m.Incl;)*)*)>
<!ATTLIST characterList
%a.global;>
|
| <form> | contains a form, usually a an order form within an <ad> (advertisement) |
| Attributes | Global attributes only. |
| Example |
<form>
<p>
<address>
<orgName>
Anchor Specialties Co.
</orgName>
<postBox>
DEPT M 14 BOX 3958
</postBox>
<placeName>
<settlement type="city">
North Providence
</settlement>
,
<region type="state" reg="RI">
R. I.
</region>
</placeName>
<postCode>
02911
</postCode>
</address>
</p>
<p>
<hi rend="italic">
Rush money-making FREE SALES KIT.
</hi>
</p>
<label>Name</label><input name="name"/>
<label>Address</label><input name="address"/>
<label>City</label><input name="city"/>
<label>State</label><input name="state"/>
<label>Zip</label><input name="zip"/>
</form>
|
| Declaration | <!ELEMENT form %om.RR; %specialPara; >
<!ATTLIST form
%a.global;> |
| <input> | describes an input field within a form, usually in a clip-out coupon in an advertisement. | ||
| Attributes | (In addition to Global attributes.)
| ||
| Declaration | <!ELEMENT input %omRR; EMPTY >
<!ATTLIST input
%a.global;
type CDATA 'text'
name CDATA #IMPLIED
value CDATA #IMPLIED
checked ( checked ) #IMPLIED
size %Number.datatype; #IMPLIED> |
| <masthead> | Contains the publication information (e.g., publisher, title, price, date) that typically appears at the top of the front cover of a comic. |
| Attributes | Global attributes and those inherited from declarable. |
| Example |
<masthead>
<title>CAPT. AMERICA</title>
<publisher>
Marvel Comics Group™
</publisher>
<advisory>
APPROVED BY THE COMICS CODE AUTHORITY
</advisory>
<measure reg="0.25" subtype="usd" type="currency">
25¢
</measure>
<biblScope type="issue">
193
</biblScope>
<date>
Jan
</date>
<biblScope type="unknown">
02453
</biblScope>
<title>Captain America</title>
</masthead>
|
| Class(es) | declarable |
| Declaration | <!ELEMENT masthead (#PCDATA | advisory | %m.phrase; |
%m.biblPart; | %m.Incl;)*>
<!ATTLIST masthead
%a.global;
%a.declarable;
TEIForm CDATA #FIXED 'bibl'>
|
| <panelDesc> | (panel description) describes the visual content, action, or any other aspect of a panel, generally independent of any dialogue. |
| Attributes | Global attributes and those inherited from stageDirection. |
| Class(es) | stageDirection |
| Declaration | <!ELEMENT panelDesc %om.RO; %specialPara;>
<!ATTLIST panelDesc
%a.global;>
|
| <persona> | the name of a character persona, as given in a character list. | ||
| Attributes | (In addition to Global attributes.)
| ||
| Notes | |||
| Declaration | <!ELEMENT persona %om.RO; %phrase.seq;>
<!ATTLIST role
%a.global;
type CDATA #IMPLIED >
|
| <personaDesc> | (persona description) describes a character's persona. |
| Attributes | Global attributes only. |
| Notes | |
| Declaration | <!ELEMENT personaDesc %om.RR; %phrase.seq;>
<!ATTLIST roleDesc
%a.global;>
|
| <resp> | contains a phrase describing the nature of a person's intellectual responsibility. | ||||
| Attributes | (In addition to Global attributes.)
| ||||
| Example |
<titleStmt>
<title level="monograph" type="main">
The Madbomb Screamer in the Brain
</title>
<title level="monograph" type="parallel">
"Madbomb": It Can Destroy the World!
</title>
<respStmt>
<resp type="creator" subtype="writer"/><name reg="Kirby, Jack">Jack Kirby</name>
</respStmt>
<respStmt>
<resp type="creator" subtype="penciller"/><name reg="Kirby, Jack">Jack Kirby</name>
</respStmt>
<respStmt>
<resp type="creator" subtype="inker"/><name reg="Giacoia, Frank">Frank Giacoia</name>
</respStmt>
<respStmt>
<resp type="contributor" subtype="letter"/><name reg="Costanza, John">John Costanza</name>
</respStmt>
<respStmt>
<resp type="contributor" subtype="colorist"/><name reg="Cohen, Janice">Janice Cohen</name>
</respStmt>
</titleStmt>
| ||||
| Notes | |||||
| Declaration | <!ELEMENT resp %om.RO; %phrase.seq;>
<!ATTLIST %n.resp;
%a.global;
%a.typed;>
|
| <sound> | describes a sound effect or musical sequence specified within a comic. | ||||
| Attributes | (In addition to Global attributes.)
| ||||
| Example |
<panel n="3" characters="cap" x="43" y="354" width="299" height="291">
<caption>
Before the hammer descends on cap, his shield <emph rend="bold">
demolishes </emph> the evil mechanism!
</caption>
<sound type>
KRAK!
</sound>
</panel>
| ||||
| Declaration | <!ELEMENT sound %om.RO; %paraContent;>
<!ATTLIST sound
%a.global;
type CDATA #IMPLIED
discrete ( y | n | u ) "u">
|
| <text> | Contains a single text of any kind, whether unitary or composite, for example a comic or graphic novel, a poem or drama, a collection of essays, a novel, a dictionary, or a corpus sample. |
| Example |
<text type="Superhero comic books, strips, etc."> <!-- content --> </comic> |
| Notes | |
| Class(es) | inter, declaring, typed |
| Declaration | <!ELEMENT %n.text; %om.RR; ((%m.Incl;)*, (front, (%m.Incl;)*)?,
(body | group), (%m.Incl;)*, (back, (%m.Incl;)*)?)>
<!ATTLIST %n.text;
%a.global;
%a.typed;
%a.declaring;>
|