🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Transformer un flux XML avec JAXP

#9147
From: Rapha�l THERY
Date: Tue, 15 May 2001 13:57
20 lines
1814 bytes
Bonjour,
Je cherche d�sesp�r�ment un exemple de transformation d'un flux XML par une
feuille de Styles avec JAXP 1.1.

J'ai r�cup�r� l'exemple de Sun UseStylesheetPI.java que j'ai test� avec un
flux xml normal faisant r�f�rence
en interne � une feuille de Styles --------=> pas de pb !!!

Maintenant je souhaite faire la m�me chose avec non plus un flux "XML
standard" mais une feuille de styles :
c'est � dire transformer une feuille de styles gr�ce � une autre feuille de
styles pour obtenir un flux XML ---=> pb ;-(

J'obtiens un java.lang.NullPointerException et je ne comprends pas la
raison. Le comportement devrait �tre le m�me, non ?

Rapha�l

ps: je ne souhaite pas r�f�rencer en interne la feuille de styles, mais j'ai
quand m�me essay� !
Technical Details
Message-ID: <zBaM6.3446$3q3.4605035@nnrp6.proxad.net>
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!proxad.net!feeder2-1.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,8809d16c15f2e2f0,start
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-05-15 06:57:52 PST
Path: arc1-ca.pugleaf.net!archiver1.sj.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!proxad.net!feeder2-1.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail
From: "Rapha�l THERY" <raphael.thery@free.fr>
Newsgroups: fr.comp.text.xml
Subject: Transformer un flux XML avec JAXP
Lines: 22
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Message-ID: <zBaM6.3446$3q3.4605035@nnrp6.proxad.net>
Date: Tue, 15 May 2001 13:57:51 GMT
NNTP-Posting-Host: 195.115.154.77
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp6.proxad.net 989935071 195.115.154.77 (Tue, 15 May 2001 15:57:51 CEST)
NNTP-Posting-Date: Tue, 15 May 2001 15:57:51 CEST
Organization: Guest of ProXad - France