🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Expression XPath.

#8224
From: drkm
Date: Mon, 26 Nov 2001 14:59
32 lines
1503 bytes
Bonjour � tous.

  J'ai un petit probl�me avec une exprssion XPath. Je poss�de un
fichier xml ressemblant � :

  <functionset>

    <typelist>
      <type file="fichier1">type1</type>
      <type file="fichier2">type2</type>
    <typelist>

    <function>
      <name>nom</name>
      <param><type>type1</type> <name>nom1</name></param>
    </function>

    <function>
      ...
    </function>

  </functionset>

  Dans ma feuille de style xsl, dans le traitement de
"/functionset/function/param/type", j'aimerais r�cup�rer la valeur de
"@file" du "/functionset/typelist/type" dont le texte est �gal � celui
du type trait� ("param/type").

  Et c'est l� que �a coince. Une id�e ?


--drkm
Technical Details
Message-ID: <8b283176.0111260659.5df4e19b@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,e3cc00bac1e77738,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-11-26 06:59:52 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: darkman_spam@yahoo.fr (drkm)
Newsgroups: fr.comp.text.xml
Subject: Expression XPath.
Date: 26 Nov 2001 06:59:52 -0800
Organization: http://groups.google.com/
Lines: 32
Message-ID: <8b283176.0111260659.5df4e19b@posting.google.com>
NNTP-Posting-Host: 194.78.219.65
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1006786792 24501 127.0.0.1 (26 Nov 2001 14:59:52 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 26 Nov 2001 14:59:52 GMT