User Tools

Site Tools


yagsbook:xml:article
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


yagsbook:xml:article [2019/08/14 15:08] (current) – created sam
Line 1: Line 1:
 +====== article ======
  
 +An article is a top level document. It contains header information and may indirectly include most other element types.
 +
 +===== Definition =====
 +
 +<code>
 +article:: (header, front?, back?, body)
 +</code>
 +
 +At a minimum, an <[[article]]> must contain one <[[header]]> which contains the meta data for the article, and a <[[body]]> element which contains the story text of the article.
 +
 +The  <[[front]]> and <[[back]]> matter of the article are optional.
 +
 +===== Example =====
 +
 +<code xml>
 +  <article>
 +    <header>
 +      <title>An Article</title>
 +      <tagline>Yagsbook</tagline>
 +      <summary>
 +        An example article which a short summary.
 +      </summary>
 +
 +      <author>
 +        <fullname>Samuel Penn</fullname>
 +        <email>sam@glendale.org.uk</email>
 +      </author>
 +
 +      <cvsinfo/>
 +      <license/>
 +    </header>
 +
 +    <front/>
 +    <back/>
 +
 +    <body>
 +      <sect1>
 +        <title>First Section</title>
 +
 +        <para>
 +          A single paragraph.
 +        </para>
 +      </sect1>
 +    </body>
 +  </article>
 +</code>
yagsbook/xml/article.txt · Last modified: 2019/08/14 15:08 by sam

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki