🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: [XPath] Petit probleme pour r�cup�rer la valeur d'un attribut

#9265
From: Alain Ketterlin
Date: Tue, 08 May 2001 11:22
25 lines
1580 bytes
Luc Saint-Elie <luc@saint-elie.com> writes:

> <?xml version="1.0" encoding="iso-8859-1"?>
> 
> <navigation>
> 	<menu name="navHaut">
> 		<lien id="1">
> 			<url>index.php</url>
> 			<intitule>Accueil</intitule>	 
> 	 	</lien>
> 	 	<lien id="2">
> 			<url>index.php?op=surleweb</url>
> 			<intitule>Ailleurs sur Internet</intitule>
> 	 	</lien>
> 
> [.... etc..]
> 
> Je n'arrive pas � �crire la commande XPath pour r�cup�rer la valeur de
> l'id de <lien>

L'id de quel lien ?

Si tu les veux tous : /navigation/menu/lien/@id

-- Alain.
Technical Details
Message-ID: <wyd79kccgc.fsf@polya.u-strasbg.fr>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!fr.usenet-edu.net!usenet-edu.net!ciril.fr!news.u-strasbg.fr!not-for-mail
References: <k2kfftoodb2m3q8f4s9rj7a2muev41kbc2@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,e58eb35aa5a0636
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-05-08 04:25:14 PST
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!t-online.de!fr.usenet-edu.net!usenet-edu.net!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: [XPath] Petit probleme pour r�cup�rer la valeur d'un attribut
Date: 08 May 2001 13:22:27 +0200
Organization: CRC - Universite Louis Pasteur Strasbourg France
Lines: 25
Message-ID: <wyd79kccgc.fsf@polya.u-strasbg.fr>
References: <k2kfftoodb2m3q8f4s9rj7a2muev41kbc2@4ax.com>
NNTP-Posting-Host: polya.u-strasbg.fr
X-Trace: news.u-strasbg.fr 989325621 11398 130.79.6.19 (8 May 2001 12:40:21 GMT)
X-Complaints-To: usenet@u-strasbg.fr
NNTP-Posting-Date: 8 May 2001 12:40:21 GMT
X-Newsreader: Gnus v5.6.45/XEmacs 21.1 - "Capitol Reef"