archive-org.com » ORG » H » HWG.ORG

Total: 51

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • The HTML Writers Guild Project Gutenberg Gutbook DTD 1
    full bookfrag dtd can be obtained here The next page also has a description and a few notes on the use of this DTD A tutorial on using this DTD to mark up books can be found here The following figure shows the top level structure of the gutbook DTD Here are the element content declarations for the gutbook1 DTD ELEMENT gutbook gutblurb markupblurb book endmarkupblurb endgutblurb ELEMENT gutblurb PCDATA

    Original URL path: http://gutenberg.hwg.org/gutdtds4.html (2016-02-14)
    Open archived version from archive


  • The HTML Writers Guild Project Gutenberg DTD III
    or the original material They may be referenced from any element using the ref attribute of that element Both the meta and the endmeta elements are empty elements They have an id and a content attribute The later contains the message and the former must be used if the element is being referenced from within the document Usually referenced elements will be at the end of the document i e they will be endmeta elements For those of you who are wondering why they cannot have the same name if they do have the same name an ambiguity error will arise in the validation process meta The element and attribute declarations Here is the element and attribute declaration for the meta element ELEMENT meta EMPTY ATTLIST meta content CDATA REQUIRED id ID IMPLIED The declarations for the endmeta element is similar The acknowledge element This element can be used to provide a simple acknowledgement that is designed to be read by the public Although the inline classes are in cluded this element will usually just be plain PCDATA acknowledge The content model ELEMENT acknowledge PCDATA inline class The frontmatter element The front matter can contain one or more of several elements as depicted in the element content model This is illustrated graphically here frontmatter The content model ELEMENT frontmatter htitlepage copypage epigraph titlepage toc acksect preface introduction miscfm A description of the frontmatter element is given on the next page The bookbody element The bookbody element can have either several chapters OR several parts which can contain chapters This is illustrated graphically here bookbody The content model ELEMENT bookbody part chapter A description of the bookbody element is given on another page The backmatter element The backmatter element can have appendices indexes glosarries and biliographies or lists of references as

    Original URL path: http://gutenberg.hwg.org/gutdtds5.html (2016-02-14)
    Open archived version from archive

  • The HTML Writers Guild Project Gutenberg DTD Frontmatter
    of information Older books from a less legalistic time often ommit this page copypage element declaration ELEMENT copypage PCDATA para note inline class epigraph This page usually contained one or two apt quotations and sometimes some other notes epigraph element declaration ELEMENT epigraph PCDATA para note blockquote inline class titlepage This page contains the title the author s subtitles and often publishing information titlepage element declaration ELEMENT titlepage PCDATA title subtitle author pubinfo para note inline class toc There are several different types of table of contnts and gutbook distinguishs them by using an attribute The default is toctype contents If the value is given as other use either the role or the type attribute to define it toc element and attribute declarations ELEMENT toc PCDATA title item list deflist inline class use type or role to describe toctype other ATTLIST toc toctype contents maps graphics tables other contents stdatts acksect and dedication Acknowledgements often go in the preface but some times they are seperate A dedication is usualy on a seperate page acksect and dedication element declarations ELEMENT acksect PCDATA para note inline class ELEMENT dedication PCDATA para note inline class preface and introduction These elements have the same

    Original URL path: http://gutenberg.hwg.org/gutdtds6.html (2016-02-14)
    Open archived version from archive

  • The HTML Writers Guild Project Gutenberg DTD Bookbody
    but the declaration would have become extremely complex The chapheader ELEMENT declaration validity constraint Only one title chapnum and chapsummary ELEMENT chapheader title subtitle chapnum chapsummary blockquote note The subtitle ELEMENT declaration ELEMENT subtitle PCDATA inline class The chapnum ELEMENT declaration ELEMENT chapnum PCDATA inline class The chapsummary ELEMENT declaration ELEMENT chapsummary PCDATA inline class The declarations of the blockquote and note elements will be considered below when we look at the block class elements The inline class of elements was discussed in another page para content Paragraphs are the workhorse of any book DTD and they essentially contain all the content of the book After some debate we decided to give a paragraph an optional title element We thought that this would speed the markup process as well as being grammatically correct Some purists will tell you that a paragraph cannot have a title However in other languages it is clear that it can Paragraph content is illustrated graphically here The para element Note that the para element as declared can contain several titles and they can occur anywhere in the paragraph content However as a further validity constraint a paragraph should only contain one title and this title if present should open the paragraph The para ELEMENT declaration validity constraint Only one opening title per paragraph ELEMENT para PCDATA title inline class The inline class of elements was discussed in another page Sections Some chapters are divided up into sections and these sectiions can either be simple sections or they can be nested one within the other The bookfrag and gutbook1 DTDs allow for up to four levels of nesting sections We have not yet found a book outside of the military that requires more levels of nesting Here is an illustration of the allowed element content of a top level sect1 section sect content The sect1 ELEMENT declaration The sect1 section can contain a sect2 section plus the other block levekl elements ELEMENT sect1 title sect2 simplesect para block class Nesting sections All the sect elements can contain the next section down sect4 of course cannot contain any section other than a simplesect element The block class elements The block class elements are brought into several elements content by using an entity reference Here is the entity declaration for block class ENTITY block class blockquote footnote note list deflist table blockgraphic The blockquote element The blockquote element can have an optional title and attribution Usually a blockquote is presented in a slightly different type and is indented to the right and the left from the main text The blockquote ELEMENT declaration ELEMENT blockquote title para attrib The attrib ELEMENT declaration The author the quote is attributed to ELEMENT attrib PCDATA inline class The footnote element Footnotes will include notes at the bottom of the page and side notes If it is important to distinguish between the two use the role or type attributes Note that this is not for use by the marker It is to distinguish

    Original URL path: http://gutenberg.hwg.org/gutdtds7.html (2016-02-14)
    Open archived version from archive

  • The HTML Writers Guild Project Gutenberg DTD Book backmatter
    follows Here are the element declarations for backmatter ELEMENT backmatter appendix index glossary biblio colophon The index element The index page numbers do not mean much in an e text but the headings are of interest Enthusiastic markers could use the ref attribute to refer to places in the document The element content allows most combinations of lists although in most documents a simple item element can be used index ELEMENT and ATTLIST declarations ELEMENT index title item list deflist note ATTLIST index indtype contents authors firstlines tables other contents stdatts The glossary element Glossaries are lists of definitions For the most part the deflist will be used to markup glossaries glossary ELEMENT and ATTLIST declarations ELEMENT glossary title item list deflist note ATTLIST glossary stdatts The biblio element The biblio element can include lists of further reading or lists of references biblio ELEMENT and ATTLIST declarations ELEMENT biblio title item list deflist note ATTLIST biblio stdatts The appendix element Appendicies range from the simple to the very complex For this reason they are given the same structure as chapters appendix ELEMENT and ATTLIST declarations ELEMENT appendix title chapheader para sect1 simplesect block class endchap ATTLIST appendix stdatts The colophon

    Original URL path: http://gutenberg.hwg.org/gutdtds8.html (2016-02-14)
    Open archived version from archive

  • The HTML Writers Guild Project Gutenberg. Using XML for markup 2
    markup The Rhyme of the Ancient Mariner by Samuel Taylor Coleridge This is the rime10 txt Etext We will use the gutpoems2 dtd to markup this poem You can view the end result at rime10 2 xml The gutpoems2 dtd is an extension of the gutpoems dtd that is suitable for marking up anthologies of poetry as well as sets of poetry Preliminaries Marking up the meta data Marking up

    Original URL path: http://gutenberg.hwg.org/markupXML2.html (2016-02-14)
    Open archived version from archive

  • The HTML Writers Guild Project Gutenberg. Using XML for markup 3
    poems of Robert Burns II This and the next few pages walks you through how to markup some poems of Robert Burns To be written Previous HWG Homepage Gutenberg Index Next This page is maintained by frank hwg org Last

    Original URL path: http://gutenberg.hwg.org/markupXML3.html (2016-02-14)
    Open archived version from archive

  • The HTML Writers Guild Project Gutenberg. Using XML for markup 4
    origin of the species I This and the next few pages walks you through how to markup Darwins On the origin of the species To be written Previous HWG Homepage Gutenberg Index Next This page is maintained by frank hwg

    Original URL path: http://gutenberg.hwg.org/markupXML4.html (2016-02-14)
    Open archived version from archive



  •