[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [DocBook-publishers] [docbook-publishers] DocBook PublishersSC meeting agenda - 23 Jan 2008
Interestingly enough, TEI uses a generic <lg> (line group)
container with a type attribute to classify the groups for things like:
stanza, sestet, couplet, quatrain, etc. Perhaps stanza in my example
should be more generic as well? I'm afraid para might be too big or create formatting issues? Will a linegroup or individual lines will be used enough to justify new elements, or not? Are there semantically important distinctions that should be made for lines of text? --Scott
Scott Hudson scott.hudson@FlatironsSolutions.com
O: 303.542.2146 C: 303.332.1883 F: 303.544.0522
An Inc. 500 Company
Keith Fahlgren wrote: On 1/21/08 8:52 AM, Scott Hudson wrote:Regarding agenda item 8, I found an interesting example at: http://celtic.benderweb.net/webit/docs/basics/node_4.html This may be simple enough to meet our needs? What other markup may be needed? I think the simple content model could be defined by: db.poem = element poem { db.poem.attlist, db.poem.info, db.stanza* } db.stanza = element stanza { db.stanza.attlist, db.line* }line != para? element stanza { db.stanza.attlist, db.para*, db.formalpara* } <poem> <info> <title>Bitter for Sweet</title> <author> <firstname>Christina</firstname> <surname>Rossetti</surname> </info> <stanza> <para>Summer is gone with all its roses,</para> <para>Its sun and perfumes and sweet flowers,</para> <para>Its warm air and refreshing showers</para> <para>And even Autumn closes.</para> </stanza> <stanza> <para>Yea, Autumn's chilly self is going,</para> <para>And winter comes which is yet colder;</para> <para>Each day the hoar-frost waxes bolder</para> <para>And the last buds cease blowing.</para> </stanza> </poem> ? <poem> <info> <title>Bitter for Sweet</title> <author> <firstname>Christina</firstname> <surname>Rossetti</surname> </info> <stanza> <para>Summer is gone with all its roses,</para> <para>Its sun and perfumes and sweet flowers,</para> <para>Its warm air and refreshing showers</para> <para>And even Autumn closes.</para> </stanza> <stanza> <para>Yea, Autumn's chilly self is going,</para> <para>And winter comes which is yet colder;</para> <para>Each day the hoar-frost waxes bolder</para> <para>And the last buds cease blowing.</para> </stanza> </poem> Keith |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]