Commit bee6ff6c authored by crzt's avatar crzt

Adding schemas and samples, development version, release version remains at hdoc.crzt.fr

parent acf793a2
<?xml version="1.0"?>
<?oxygen RNGSchema="http://scenari.utc.fr/hdoc/schemas/container/hdoc1-container.rng" type="xml" ?>
<container version="1.0" xmlns="urn:utc.fr:ics:hdoc:container">
<rootfiles>
<rootfile full-path="content.xml" media-type="text/xml"/>
</rootfiles>
</container>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://hdoc.crzt.fr/schemas/xhtml/hdoc1-xhtml.rng" type="xml" ?>
<html xmlns="http://www.utc.fr/ics/hdoc/xhtml">
<head>
<title>Hello world</title>
<meta charset="utf-8"/>
<meta name="author" content="Stéphane Crozat"/>
</head>
<body>
<section>
<header>
<h1>First section</h1>
</header>
<div>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
</div>
</section>
<section>
<header>
<h1>Second section</h1>
</header>
<div>
<p>Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
</section>
</body>
</html>
\ No newline at end of file
application/x-hdoc+zip
<?xml version="1.0"?>
<?oxygen RNGSchema="http://scenari.utc.fr/hdoc/schemas/container/hdoc1-container.rng" type="xml" ?>
<container version="1.0" xmlns="urn:utc.fr:ics:hdoc:container">
<rootfiles>
<rootfile full-path="content.xml" media-type="text/xml"/>
</rootfiles>
</container>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://hdoc.crzt.fr/schemas/xhtml/hdoc1-xhtml.rng" type="xml" ?>
<html xmlns="http://www.utc.fr/ics/hdoc/xhtml">
<head>
<title>Chaînes éditoriales et rééditorialisation de contenus numériques</title>
<meta charset="utf-8"/>
<meta name="generator" content="HdocConverter/Optim1.2"/>
<meta name="author" content="Stéphane Crozat"/>
</head>
<body>
<section>
<header>
<h1>Préambule</h1>
</header>
<div>
<p>Texte présenté originellement lors du séminaire INRIA "Le document numérique à
l'heure du web de données"</p>
<ul>
<li>
<p>Site du séminaire : <a href="http://hal.inria.fr/IST2012">http://hal.inria.fr/IST2012</a></p>
</li>
<li>
<p>Article (PDF) : <a href="http://hal.inria.fr/hal-00740268">http://hal.inria.fr/hal-00740268</a></p>
</li>
</ul>
</div>
</section>
<section>
<header>
<h1>As we may write</h1>
<div data-hdoc-type="author">Stéphane Crozat</div>
</header>
<div>
<h6>Introduction</h6>
<p>Pendant la seconde guerre mondiale [...] le numérique est aussi devenu le support
d'une autre façon de <em>produire</em> du document [...]</p>
</div>
<section>
<header>
<h1>Raison graphique et raison computationnelle</h1>
</header>
<section>
<header>
<h1>L'invention de l'écriture a donné naissance à la rationalité moderne :
la raison graphique</h1>
</header>
<div>
<p>Goody (1979) a montré que [...]</p>
<object type="application/vnd.oasis.opendocument.spreadsheet" data="res/tab01.ods"/>
<table>
<caption>Ceci est un tableau à deux colonnes et deux lignes</caption>
<tr><td><p>A</p></td><td><p>B</p></td></tr>
<tr><td><p>A</p></td><td><p>2</p></td></tr>
</table>
</div>
</section>
<section>
<header>
<h1>Le numérique est le ferment d'une nouvelle rationalité en construction :
la raison computationnelle</h1>
</header>
<div>
<h6>L'écrit</h6>
<p>De même que l'écrit a permis le passage [...]</p>
</div>
<div data-hdoc-type="emphasis">
<h6>Les supports</h6>
<p>Il y a une relation fondamentale entre les supports [...]</p>
</div>
</section>
</section>
<footer>
<div data-hdoc-type="tags">
<span>raison graphique</span>
<span>raison computationnelle</span>
<span>support</span>
</div>
</footer>
</section>
<section>
<header>
<h1>La domestication de la rééditorialisation sauvage</h1>
</header>
<div>
<p>[...]</p>
</div>
</section>
</body>
</html>
\ No newline at end of file
application/x-hdoc+zip
<?xml version="1.0" encoding="UTF-8"?>
<grammar
xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="urn:utc.fr:ics:hdoc:container"
>
<a:documentation>This schema describes the META-INF/container.xml file for hdoc format</a:documentation>
<a:documentation>This schema is a derivation of http://www.idpf.org/epub/30/schema/ocf-container-30.rnc
from EPUB Open Container Format (http://www.idpf.org/epub/30/spec/epub30-ocf.html)
</a:documentation>
<start>
<element name="container">
<attribute name="version">
<value>1.0</value>
</attribute>
<element name="rootfiles">
<element name="rootfile">
<attribute name="full-path">
<data type="anyURI"/>
</attribute>
<attribute name="media-type">
<value>text/xml</value>
</attribute>
</element>
</element>
</element>
</start>
</grammar>
This diff is collapsed.
<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
ns="http://www.utc.fr/ics/hdoc/xhtml">
<a:documentation>Last update : 2014-12-04</a:documentation>
<a:documentation>Changes since last update :
In order to manage quiz :
- Adding multiple-choice-question and fill-in-the-blank to section
- Adding question, choice-correct, choice-uncorrect and explanation to div
- Adding blank to span
- Externalizing ObjectType and VideoType from main schema
</a:documentation>
<!-- Type Microdata -->
<define name="SectionType">
<optional>
<attribute name="data-hdoc-type">
<choice>
<value>introduction</value>
<value>conclusion</value>
<value>unit-of-content</value>
<value>multiple-choice-question</value>
<value>fill-in-the-blank</value>
</choice>
</attribute>
</optional>
</define>
<define name="DivType">
<optional>
<attribute name="data-hdoc-type">
<choice>
<!-- block management -->
<value>emphasis</value>
<value>complement</value>
<value>definition</value>
<value>example</value>
<value>remark</value>
<value>warning</value>
<value>advice</value>
<!-- quiz management -->
<value>question</value>
<value>choice-correct</value>
<value>choice-incorrect</value>
<value>explanation</value>
</choice>
</attribute>
</optional>
</define>
<define name="SpanType">
<optional>
<attribute name="data-hdoc-type">
<choice>
<value>syntax</value>
<value>latex</value>
<!-- quiz management -->
<value>blank</value>
</choice>
</attribute>
</optional>
</define>
<define name="ObjectType">
<attribute name="type">
<choice>
<value>application/vnd.oasis.opendocument.graphics </value>
<value>application/vnd.oasis.opendocument.spreadsheet</value>
<value>application/pdf</value>
</choice>
</attribute>
</define>
<define name="VideoType">
<attribute name="type">
<choice>
<value>video/mp4</value>
<value>video/ogg</value>
<value>video/webm</value>
</choice>
</attribute>
</define>
</grammar>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment