🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Cr�ation automatique d'une DTD � partir d'un fichier XML type ?

#8196
From: Patrice Dargenton
Date: Tue, 06 Nov 2001 07:59
39 lines
2562 bytes
Merci beaucoup, c'�tait bien ce que je voulais faire : obtenir un premier
jet de ma DTD !
-------------------------------------------------------
Patrice Dargenton
patrice.dargenton@worldonline.fr
http://perso.worldonline.fr/ors/index.html
-------------------------------------------------------


"Michel CASABIANCA" <michelc@in-fusio.com> a �crit dans le message news:
lvpu6xqo3y.fsf@casa.in-fusio.com...
> Bonjour
>
> "Patrice Dargenton" <patrice.dargenton@worldonline.fr> writes:
> > je me demande s'il existe un outil pour d�duire une DTD (voire m�me un
> > Sch�ma XML) � partir d'un fichier XML. Apr�s tout, si on demande � un
humain
> > de r�diger la DTD, il va pr�cis�ment analyser un fichier XML pour en
d�duire
> > sa grammaire, cela doit pouvoir se faire automatiquement, non ?
>
> Non, l'information contenue dans un exemple de fichier XML ne suffit pas.
> Par exemple, si un �l�ment foo est contenu dans bar, cela peut vouloir
> dire que foo doit contenir un bar, au moins un bar ou 0 ou plus bar.
>
> Ceci dit il existe au moins un outil pour aider � faire un premier jet
> de DTD (� rtourcher � la main):
>
>   http://users.iclway.co.uk/mhkay/saxon/saxon5-5-1/dtdgen.html
>
> --
> +---------------------------------------+
> | Michel CASABIANCA - Java & XML expert |
> | +33(0)5.57.77.38.00                   |
> | In-Fusio - The Mobile Fun Connection  |
> | Le Millenium, 12 quai de Queyries     |
> | 33072 BORDEAUX Cedex - FRANCE         |
> | http://www.in-fusio.com               |
> +---------------------------------------+
Technical Details
Message-ID: <9s85bt$1c5n$1@news6.isdnet.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!isdnet!isdnethub!not-for-mail
References: <9s670f$26a2$1@news5.isdnet.net> <lvpu6xqo3y.fsf@casa.in-fusio.com>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,b30b79d4365eb397
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-11-06 00:02:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!isdnet!isdnethub!not-for-mail
From: "Patrice Dargenton" <patrice.dargenton@worldonline.fr>
Newsgroups: fr.comp.text.xml
Subject: Re: Cr�ation automatique d'une DTD � partir d'un fichier XML type ?
Date: Tue, 6 Nov 2001 08:59:25 +0100
Lines: 41
Message-ID: <9s85bt$1c5n$1@news6.isdnet.net>
References: <9s670f$26a2$1@news5.isdnet.net> <lvpu6xqo3y.fsf@casa.in-fusio.com>
NNTP-Posting-Host: 212.47.239.243
X-Trace: news6.isdnet.net 1005033661 45239 212.47.239.243 (6 Nov 2001 08:01:01 GMT)
X-Complaints-To: abuse@isdnet.net
NNTP-Posting-Date: 6 Nov 2001 08:01:01 GMT
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200