🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

element vide

#8399
From: Fr�d�ric Facca
Date: Mon, 29 Oct 2001 15:33
32 lines
1694 bytes
Bonjour � tous.
J'ai une DTD qui definie mon element personne comme suit :personne (nom*,
prenom*, adresse*) ou adresse est lui m�me d�finie par adresse ( adresse1,
adresse2, cp, ville, pays).
Mon fichier xml est donc le suivant :

<liste>
<personne>
<nom>Durant</nom>
<nom>Eric</nom>
<adresse>
<adresse1></adresse1>
<adresse2></adresse2>
<cp></cp>
<ville></ville>
<pays></pays>
</adresse>
</personne>

<personne>
.....
</personne>
</liste>

Ma question est assez simple. Comment faire pour savoir si une personne a
une adresse vide.

Si je fais le test <xsl:if test="personne=''"> celui-ci ne fonctionne pas.

Merci � tous pour votre aide.

Fr�d�ric.
Technical Details
Message-ID: <9rjsm0$1vb$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!grolier!oleane.net!oleane!nnrp.oleane.net!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,1e266f71ad21657f,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-10-29 07:35:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!grolier!oleane.net!oleane!nnrp.oleane.net!not-for-mail
From: "Fr�d�ric Facca" <frederic.facca@rii-diffusion.fr>
Newsgroups: fr.comp.text.xml
Subject: element vide
Date: Mon, 29 Oct 2001 16:33:28 +0100
Organization: Guest of France Telecom Oleane's newsreading service
Lines: 37
Message-ID: <9rjsm0$1vb$1@s1.read.news.oleane.net>
NNTP-Posting-Host: 195.6.155.219
X-Trace: s1.read.news.oleane.net 1004369409 2027 195.6.155.219 (29 Oct 2001 15:30:09 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Mon, 29 Oct 2001 15:30:09 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700