🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: compter avec une requête Xpath

#137
From: Alain Ketterlin
Date: Wed, 02 Dec 2009 14:57
32 lines
2369 bytes
YgoogleY <jrmaub@gmail.com> writes:

[...]

Ta feuille a l'air d'être correcte.

> j''ouvre mon fichier XML source dans Firefox.
[...]

Je ne sais pas ce que peut être le problème, je n'utilise jamais Firefox
pour faire cela. Juste pour être sûr : as-tu mis une
processing-instruction <?xml-stylesheet> dans le fichier XML ?

[...]
> A défaut de pouvoir transformer le fichier d'origine à la volée ou
> éventuellement mieux de pouvoir produire en sortie directement un
> nouveau fichier XML conforme aux attentes métiers.

En général j'utilise xsltproc, de la façon suivante (sous Linux) :

xsltproc feuille.xsl fichier.xml > nouveau.xml

mais il y a bien sûr d'autres processeurs XSLT. Si tu nous dis ce que tu
utilises comme OS, quelqu'un pourra sûrement t'indiquer la marche à
suivre.

-- Alain.
Technical Details
Message-ID: <873a3t4e4v.fsf@dpt-info.u-strasbg.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!news.ecp.fr!jussieu.fr!not-for-mail
References: <5c0a53db-c629-4c3a-affe-bd2fd90b0ff6@k19g2000yqc.googlegroups.com> <255ac929-0e14-41f1-959c-b7c27fd27350@k17g2000yqh.googlegroups.com> <0bf1b4ce-958b-4080-b168-6612c7181c38@p8g2000yqb.googlegroups.com> <eae16e75-c0ae-4065-8f51-a13ebe2df86b@a21g2000yqc.googlegroups.com> <877ht54k8y.fsf@dpt-info.u-strasbg.fr> <7fe7ce2a-a3b4-4113-af00-25885a89c702@e23g2000yqd.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 8a75585569,e549ae3bf9b5c171
X-Google-Attributes: gid8a75585569,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: FRENCH,UTF8
From: Alain Ketterlin <alain@dpt-info.u-strasbg.fr>
Newsgroups: fr.comp.text.xml
Subject: Re: compter avec une requête Xpath
Date: Wed, 02 Dec 2009 15:57:52 +0100
Organization: Universites Paris VI/Paris VII - France
Lines: 32
Message-ID: <873a3t4e4v.fsf@dpt-info.u-strasbg.fr>
References: <5c0a53db-c629-4c3a-affe-bd2fd90b0ff6@k19g2000yqc.googlegroups.com>
 <255ac929-0e14-41f1-959c-b7c27fd27350@k17g2000yqh.googlegroups.com>
 <0bf1b4ce-958b-4080-b168-6612c7181c38@p8g2000yqb.googlegroups.com>
 <eae16e75-c0ae-4065-8f51-a13ebe2df86b@a21g2000yqc.googlegroups.com>
 <877ht54k8y.fsf@dpt-info.u-strasbg.fr>
 <7fe7ce2a-a3b4-4113-af00-25885a89c702@e23g2000yqd.googlegroups.com>
NNTP-Posting-Host: icps-laptop-ketterlin.u-strasbg.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Trace: vishnu.jussieu.fr 1259765872 75300 130.79.192.170 (2 Dec 2009 14:57:52 GMT)
X-Complaints-To: usenet@vishnu.jussieu.fr
NNTP-Posting-Date: Wed, 2 Dec 2009 14:57:52 +0000 (UTC)
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)
Cancel-Lock: sha1:xW5Q4jeSi+UqP4sgKgT636MPTwI=
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!feed.ac-versailles.fr!news.ecp.fr!jussieu.fr!not-for-mail