🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: XSD to HTML

#8195
From: Rapha�l THERY
Date: Tue, 06 Nov 2001 08:16
32 lines
2449 bytes
C'est �a et ce n'est pas �a !
C'est �a pour l'index des �l�ments (for-each tri� par nom)
mais dans la parcours r�cursif, c'est plus un truc du genre : combien
d'autres �l�ments utilisent ce m�me type et en quelle position se trouve cet
�l�ment ci pour ne l'afficher que si c'est le dernier.
(un truc bien tordu, donc je laisse tomber pour le moment)

merci quand meme
Rapha�l

"Alain Ketterlin" <alain@dpt-info.u-strasbg.fr> a �crit dans le message
news: wyvgguvqmx.fsf@polya.u-strasbg.fr...
> "Rapha�l THERY" <raphael.thery@free.fr> writes:
>
> > Je cherche � expliquer la structure d'un flux XML. Pour cela j'applique
une
> > feuille de styles sur le flux XSD associ� en exploitant
> > au maximum les tags xsd:documentation. Le tout me donne un fichier HTML.
> >
> > Pour arriver � mes fins je proc�de r�cursivement; j'identifie un �l�ment
je
> > l'exploite, je regarde de quoi il est constitu� et je recommence pour
chacun
> > de ses composants. Le probl�me survient lorsqu'un �l�ment est utilis�
> > plusieurs fois ... il apparait plusieurs fois dans le document HTML.(XML
Spy
> > proc�de de la m�me fa�on et aboutit donc au m�me r�sultat).
>
> Si j'ai compris la question, peut-etre que l'axe preceding te serait
> utile (du genre <xsl:if test="preceding::*[name()=name(current)]">).
>
> -- Alain.
Technical Details
Message-ID: <3be7979b$0$32059$626a54ce@news.free.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!opentransit.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!news1-2.free.fr!not-for-mail
References: <3be02324$0$32070$626a54ce@news.free.fr> <wyvgguvqmx.fsf@polya.u-strasbg.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,26af016eab6bdf29
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-11-05 23:56:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!opentransit.net!wanadoo.fr!proxad.net!feeder2-1.proxad.net!news1-2.free.fr!not-for-mail
From: "Rapha�l THERY" <raphael.thery@free.fr>
Newsgroups: fr.comp.text.xml
References: <3be02324$0$32070$626a54ce@news.free.fr> <wyvgguvqmx.fsf@polya.u-strasbg.fr>
Subject: Re: XSD to HTML
Date: Tue, 6 Nov 2001 09:16:57 +0100
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
Lines: 34
Message-ID: <3be7979b$0$32059$626a54ce@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 06 Nov 2001 08:56:11 MET
NNTP-Posting-Host: 195.115.154.77
X-Trace: 1005033371 news1-2.free.fr 32059 195.115.154.77
X-Complaints-To: abuse@proxad.net