Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

This page describes how to use the Poetry style. eXtyles NLM can automatically separate the poem into separate stanzas in the XML.

Poetry

Poetry may appear in any document type. The verses of the poem should be styled with the Poetry style. 

If whitespace is relevant to the poem’s formatting and should be preserved, the Preformat style may be used rather than Poetry. Please refer to the documentation on the DTD (available at http://dtd.nlm.nih.gov/publishing/tag-library/n-qu60.html) for guidelines on using Poetry versus Preformat. 

Where separate stanzas should be represented in the XML with a <verse-group> element, an empty paragraph styled Poetry should be inserted between the lines that begin and end their respective stanzas, as in the example below.

Example

The following example demonstrates the use of the Poetry paragraph style. This illustration is an excerpt from the sample document: Sample 2_Book Review.docx

JATS XML Example
<verse-group>
	<verse-line>An old willow with hollow branches</verse-line>
	<verse-line>slowly swayed his few high bright tendrils</verse-line>
	<verse-line>and sang:</verse-line>
</verse-group>
<verse-group>
	<verse-line>Love is a young green willow</verse-line>
	<verse-line>shimmering at the bare wood&#x2019;s edge.</verse-line>
</verse-group>
  • No labels