🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: une BD xml avec plusieurs xsl ???

#9733
From: Christophe
Date: Mon, 12 Feb 2001 19:55
62 lines
3553 bytes
ben dans mes tests, je n ai pas utilise xml avec Java, xalan, etc...
mais simplement avec l interprete de IE5.0, et G l impression qu'il est un peu
merdique :((

merci bcp, de toute facon, si je me lance vraiment pour le xml, se sera sans doute
en couplage avec java, et pas simplement pour faire des pages web ;))
le php+sql est tres bien pour ca
++

Pasturel a �crit :

> Christophe wrote:
>
> > salut, C encore moi...
> > je suppose que le nom du proc XSLT se trouve dans l entete, tu utilises
> > http://www.w3.org/1999/XSL/Transform
>
> d�ja r�pondu
>
> >
> > tandis que moi j'avais http://www.w3.org/TR/WD-xsl
> > j'ai donc repri de suite ton ex., ca marche, C cool, mais G fait egalement
> > quelques autres tests
> > pour commencer, G corrige le chargement du fichier (tu avais
> > document('source.xml'))
> > mais G egalement remplace le <xsl:template match="foo">
> > par <xsl:template match="toto">, et a ma grande surprise, il mais tjs la meme
> > chose, en fait, koikil arrive, il execute tjs ce template, et pourtant il n
> > existe aucune balise <toto>!!!
>
> Alors l� tu m'�tonnes fort. J'ai fait le test propos� par Tom. J'ai fait cela
> avec xalan-J2.0
> 1i�r cas ) Fichier foo.xsl ( en rempla�ant select="document('source.xlm')" par
> select="document('foo.xml')")et foo.xml idem Tom et en lancant  ( sous linux)
>
> export JAVA_HOME=/usr/local/jdk1.3ibm
> export CLASSPATH=/opt/xalan/bin/xerces.jar:/opt/xalan/bin/xalan.jar
> $JAVA_HOME/bin/java org.apache.xalan.xslt.Process -in essai.xml -xsl essai.xsl
> la sortie est :
> <?xml version="1.0" encoding="UTF-8"?>
>
>             Element "foo" trouve
>
> 2i�me) En rempla�ant la balise <foo> et </foo>     par <toto> et </toto> dans
> foo.xml et en relan�ant la  commande ci-dessus j'ai la sortie :
>
>            <?xml version="1.0" encoding="UTF-8"?>
> Something
>
> Dans chaque cas je suis conforme au comportement d�finis dans les template.
>
> Cordialement
> A +
>
> >
> >
>
> --
> ---------------------------------------------------------------------------
> Jean-Louis PASTUREL            mail  jean-louis.pasturel@wanadoo.fr
> Perso http://perso.wanadoo.fr/jean-louis.pasturel/
> ___________________________________________________________________________
Technical Details
Message-ID: <3A883FCD.7B3D0DFA@chez.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!easynews!feedwest.us.telia.net!feedeast.us.telia.net!us.telia.net!howland.erols.net!isdnet!wanadoo.fr!not-for-mail
References: <3A79E0F4.F19D6D8F@chez.com> <3A7AD1C5.913B628B@chez.com> <95ephu$ajg$1@wanadoo.fr> <3A7C53B6.6C957A81@chez.com> <95hlli$mkt$1@wanadoo.fr> <3A7C5DA6.CD91319E@chez.com> <95hs6s$qvn$1@wanadoo.fr> <3A7CB336.E30DB5F5@chez.com> <3A7D3BBE.FB8D4AC1@wanadoo.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,701b5ccef8d34985
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-02-12 11:55:31 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!easynews!feedwest.us.telia.net!feedeast.us.telia.net!us.telia.net!howland.erols.net!isdnet!wanadoo.fr!not-for-mail
From: Christophe <gaba2@chez.com>
Newsgroups: fr.comp.text.xml
Subject: Re: une BD xml avec plusieurs xsl ???
Date: Mon, 12 Feb 2001 20:55:58 +0100
Organization: Wanadoo, l'internet avec France Telecom
Lines: 63
Message-ID: <3A883FCD.7B3D0DFA@chez.com>
References: <3A79E0F4.F19D6D8F@chez.com> <3A7AD1C5.913B628B@chez.com> <95ephu$ajg$1@wanadoo.fr> <3A7C53B6.6C957A81@chez.com> <95hlli$mkt$1@wanadoo.fr> <3A7C5DA6.CD91319E@chez.com> <95hs6s$qvn$1@wanadoo.fr> <3A7CB336.E30DB5F5@chez.com> <3A7D3BBE.FB8D4AC1@wanadoo.fr>
NNTP-Posting-Host: ca-ol-montpellier-3-32.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: wanadoo.fr 982007594 25985 213.56.42.32 (12 Feb 2001 19:53:14 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 12 Feb 2001 19:53:14 GMT
X-Mailer: Mozilla 4.75 [fr] (Win98; U)
X-Accept-Language: fr