🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #9690

Re: DEBUTANT EN XML

#9690
From: Alain Ketterlin
Date: Mon, 26 Feb 2001 12:28
20 lines
1502 bytes
"Michel Laporte" <michel.laporte@pse.sncf.fr> writes:

> Je voudrais faire une arborescence d'un livre
> par exemple, le titre qui contient des chapitres, qui lui meme
> contient des sections.
> mais je ne vois pas comment au dela du deuxieme niveau.
> pouvez vous m'aider par un exemple de code

Tu devrais regarder DocBk (http://www.docbook.org/), ou meme HTML dans
sa version X, qui font ca dans une certaine mesure.

Si tu veux faire  le DTD, tu pourrais demarrer avec

<!ELEMENT livre (titre,chapitre+,index)>
<!ELEMENT chapitre (para*,section+,biblio?)>
<!ELEMENT section (para*,subsection+,exercice+)>

etc.

-- Alain.
Technical Details
Message-ID: <wypug5mxw2.fsf@polya.u-strasbg.fr>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!codeine.org!ciril.fr!news.u-strasbg.fr!not-for-mail
References: <97dd10$1fs$1@muguet.sncf.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII-7-bit
X-Google-Thread: 114f60,ded4dc967efd958
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-02-26 04:34:05 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!codeine.org!ciril.fr!news.u-strasbg.fr!not-for-mail
From: Alain Ketterlin <alain@dpt-info.u-strasbg.fr>
Newsgroups: fr.comp.text.xml
Subject: Re: DEBUTANT EN XML
Date: 26 Feb 2001 13:28:29 +0100
Organization: CRC - Universite Louis Pasteur Strasbourg France
Lines: 20
Message-ID: <wypug5mxw2.fsf@polya.u-strasbg.fr>
References: <97dd10$1fs$1@muguet.sncf.fr>
NNTP-Posting-Host: polya.u-strasbg.fr
X-Trace: news.u-strasbg.fr 983194980 16022 130.79.6.19 (26 Feb 2001 13:43:00 GMT)
X-Complaints-To: usenet@u-strasbg.fr
NNTP-Posting-Date: 26 Feb 2001 13:43:00 GMT
X-Newsreader: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef"