🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Mod�le d'XSL avec param�tres

#8775
From: Vincent Leconte
Date: Thu, 26 Jul 2001 07:35
16 lines
1723 bytes
> Pour l'instant la seule solution que je vois c'est d'inclure les
param�tres
> dans le fichier XML des donn�es : c'est aussi ce que tu proposes ou bien y
a
> un autre moyen ?

Une (peut �tre) meilleure solution pour toi serait d'utiliser un fichier
param.xml avec une racine qui s'apelle params et en d�but de fichier xsl tu
d�clare une variable globale:

<xsl:variable name="params" select="document('param.xml')/params"/>

et apr�s tu as acc�s � tous les fils de params en faisant $params/param1
(par exemple).

si j'ai bien compris ton probl�me, �a devrait t'aider.
Technical Details
Message-ID: <9joh81$1ev$1@s1.read.news.oleane.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.25.12.36!oleane.net!oleane!nnrp.oleane.net!not-for-mail
References: <f86acdc8.0107250414.1fa852ee@posting.google.com> <9jmh83$e9a$1@s1.read.news.oleane.net> <9jmsur$8d9$1@neon.noos.net>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,53679e390f7e1c83
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-07-26 00:40:02 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.25.12.36!oleane.net!oleane!nnrp.oleane.net!not-for-mail
From: "Vincent Leconte" <v.leconte@#antispam#mobydoc.fr>
Newsgroups: fr.comp.text.xml
Subject: Re: Mod�le d'XSL avec param�tres
Date: Thu, 26 Jul 2001 09:35:22 +0200
Organization: Guest of France Telecom Oleane's newsreading service
Lines: 18
Message-ID: <9joh81$1ev$1@s1.read.news.oleane.net>
References: <f86acdc8.0107250414.1fa852ee@posting.google.com> <9jmh83$e9a$1@s1.read.news.oleane.net> <9jmsur$8d9$1@neon.noos.net>
NNTP-Posting-Host: 194.206.158.56
X-Trace: s1.read.news.oleane.net 996132929 1503 194.206.158.56 (26 Jul 2001 07:35:29 GMT)
X-Complaints-To: abuse@oleane.net
NNTP-Posting-Date: Thu, 26 Jul 2001 07:35:29 +0000 (UTC)
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