🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Debutant : quelques questions...

#8363
From: MindbreakeR
Date: Sat, 20 Oct 2001 23:48
19 lines
1723 bytes
Salut les gens.
Je suis en train de faire une structure de donn�es xml et j'ai deux
questions :
- comment implementer le ou inclusif ?
    voici mon element :
        <!ELEMENT Contact (Nom?, (Prenom?, Nick?), Adresse*, Portable*,
Email*)>
        Litt�ralement je voudrais qu'un contact ai un nom eventuellement,
soit un pr�nom, soit un nick, l'un des deux etant obligatoire, zero ou
plusieurs adresses, et pareil pour les portables et les emails. Le probl�me
c'est que (Prenom?, Nick?) bah ca marche po ! =(

- est il possible de specifier les caract�res voulus ?
    voici mon element :
        <!ELEMENT Cp (#PCDATA)>
        Mais j'aimerais bien qu'il n'y ait QUE des chiffres... comment �a se
passe ?

Merci beaucoup tout le monde !
Technical Details
Message-ID: <9qt277$bt6$1@quark.noos.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!proxad.net!noos!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,33a9da4ef02f776b,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-10-20 16:43:37 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!193.251.151.101!opentransit.net!proxad.net!noos!not-for-mail
From: "MindbreakeR" <mindbreaker@noos.fr>
Newsgroups: fr.comp.text.xml
Subject: Debutant : quelques questions...
Date: Sun, 21 Oct 2001 01:48:48 +0200
Organization: Service Usenet NoosNet
Lines: 21
Message-ID: <9qt277$bt6$1@quark.noos.net>
NNTP-Posting-Host: r215m176.cybercable.tm.fr
X-Trace: quark.noos.net 1003621415 12198 195.132.215.176 (20 Oct 2001 23:43:35 GMT)
X-Complaints-To: abuse@noos.fr
NNTP-Posting-Date: Sat, 20 Oct 2001 23:43:35 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000