Article View: fr.comp.text.xml
Article #8434Re: HTML dans le meme ordre que le xml
From: mphilippe
Date: Tue, 16 Oct 2001 14:51
Date: Tue, 16 Oct 2001 14:51
42 lines
2194 bytes
2194 bytes
Merci, cette exemple semble fonctionner... et j'ai trouve celui ci aussi !! <xsl:apply-templates select="TABLE|ITEM"/> Qui marche pas mal, et qui et mots pour mots la DTD ;o) "Pierre Y." <pierre.crisalid@wanadoo.fr> a �crit dans le message news: 9qhf8u$fqi$1@wanadoo.fr... > > xsl: > > <xsl:apply-templates select="TABLE"/> > > <xsl:apply-templates select="ITEM"/> > > Ceci signifie : ex�cute les templates pour les noeuds qui matchent 'TABLE' > PUIS pour les noeuds ITEM > > Utilise <xsl:apply-templates /> qui laisse le processeur XSLT choisir les > templates adapt�s dans l'ordre d'apparition des noeuds dans le XML initial. > > Exemple : > > <xsl:stylesheet...> > > <xsl:template match='P'> > <xsl:apply-templates /> > </xsl:template> > > <xsl:template match='TABLE'> > <xsl:copy-of select='.' /> > </xsl:template> > > <xsl:template match='ITEM'> > <xsl:copy-of select='.' /> > </xsl:template> > </xsl:stylesheet> > > A+ > > Pierre > >
Technical Details
Message-ID:
<9qhh87$ejb$1@ites.inria.fr>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!sunqbc.risq.qc.ca!wesley.videotron.net!teaser.fr!enst!univ-angers.fr!univ-rennes1.fr!irisa.fr!news-rocq!not-for-mailReferences:
<9qhddd$dah$1@ites.inria.fr> <9qhf8u$fqi$1@wanadoo.fr>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,941eb915bcdd73ca X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-10-16 07:59:02 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!sunqbc.risq.qc.ca!wesley.videotron.net!teaser.fr!enst!univ-angers.fr!univ-rennes1.fr!irisa.fr!news-rocq!not-for-mail From: "mphilippe" <matthieu.philippe@saphir-control.fr> Newsgroups: fr.comp.text.xml Subject: Re: HTML dans le meme ordre que le xml Date: Tue, 16 Oct 2001 16:51:29 +0200 Organization: I.N.R.I.A Rocquencourt Lines: 44 Message-ID: <9qhh87$ejb$1@ites.inria.fr> References: <9qhddd$dah$1@ites.inria.fr> <9qhf8u$fqi$1@wanadoo.fr> NNTP-Posting-Host: dolphin.inria.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ites.inria.fr 1003243591 14955 128.93.12.45 (16 Oct 2001 14:46:31 GMT) X-Complaints-To: usenet@inria.fr NNTP-Posting-Date: 16 Oct 2001 14:46:31 GMT 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