🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: XML, des sensations...euh...bien

#9470
From: Louis
Date: Fri, 13 Apr 2001 12:44
57 lines
2785 bytes
Bon euh...d'accord alors je vais aller voir :)

Merci Tom !



"Tom." <ptittom+news@free.fr> a �crit dans le message news:
1634097.uQJadu78lj@ltgt.net...
> In <9ak6p9$afr$1@wanadoo.fr>, Louis wrote:
>
> Vous regardez trop la t�l�vision, bonsoir.
>
> > Alors voila : je dispose d'un fichier XML de la structure suivante :
> >
> > <?xml version="1.0"?>
> > <ARTICLES>
> >     <ARTICLE>
> >         <IDENTIFIANT></IDENTIFIANT>
> >         <AUTEUR></AUTEUR>
> >         <DATE></DATE>
> >         <TYPE></TYPE>
> >         <INDEX></INDEX>
> >         <CONTENU>
> >             <SUR_TITRE></SUR_TITRE>
> >              <TITRE></TITRE>
> >             <CHAPEAU></CHAPEAU>
> >             <TEXTE_COURANT></TEXTE_COURANT>
> >             <SOUS_TITRE></SOUS_TITRE>
> >             <TEXTE_COURANT></TEXTE_COURANT>
> >         </CONTENU>
> >     </ARTICLE>
> > ......
> > </ARTICLES>
> >
> > Je voudrais �tre � m�me :
> > 1) d'effectuer des recherches par mots-clef dans les champ les plus
> > communs (auteur,titre)
>
> En attendant XML Query, c'est XPath qui va �tre ton copain.
> <http://www.w3.org/TR/xpath>
> les fonctions contains(), etc. entre autres
>
> Si j'�tais toi, je ferai plut�t :
>  � un "d�coupage" de AUTEUR avec nom (a priori un seul), pr�nom
>    (�ventuellement plusieurs), on pourra directement utiliser le test
>    d'�galit� plut�t que chercher dans le contenu
>  � un �l�ment mots-cl�s "d�coup�" en �l�ments mot-cl�
>
> > 2) D'afficher le r�sultat de ces recherches dans une page HTML (ou tout
> > autre format visible dans un browser)
>
> Toujours pareil, sans XML Query, c'est XSLT qui s'y colle.
> <http://www.w3.org/TR/xslt>
>
> A'tchao bon dimanche
>
> Tom.
Technical Details
Message-ID: <9b6sdq$nn4$1@wanadoo.fr>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!wanadoo.fr!not-for-mail
References: <9ak6p9$afr$1@wanadoo.fr> <1634097.uQJadu78lj@ltgt.net>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,6809168fbf720f62
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-04-13 05:46:06 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!wanadoo.fr!not-for-mail
From: "Louis" <NOSPAMlouisx@netcourrier.com>
Newsgroups: fr.comp.text.xml
Subject: Re: XML, des sensations...euh...bien
Date: Fri, 13 Apr 2001 14:44:41 +0200
Organization: Wanadoo, l'internet avec France Telecom
Lines: 59
Message-ID: <9b6sdq$nn4$1@wanadoo.fr>
References: <9ak6p9$afr$1@wanadoo.fr> <1634097.uQJadu78lj@ltgt.net>
Reply-To: "Louis" <NOSPAMlouisx@netcourrier.com>
NNTP-Posting-Host: ca-ol-rouen-2-237.abo.wanadoo.fr
X-Trace: wanadoo.fr 987165946 24292 194.2.145.237 (13 Apr 2001 12:45:46 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 13 Apr 2001 12:45:46 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400