Article View: fr.comp.text.xml
Article #9090Re: Trivial ? Générer un retour chariot (< BR >) avec XSL
From: Thomas Broyer
Date: Wed, 23 May 2001 19:01
Date: Wed, 23 May 2001 19:01
20 lines
1986 bytes
1986 bytes
In <r7itis6sxf.fsf@enstimac.fr>, Paul GABORIT wrote: >> Produire du HTML, pas du XML. >> <xsl:output method="html"/> >> cf. spec XSLT, 16.2 HTML Output Method > > Ou peut-�tre en utilisant <BR /> � la place de <BR/> pour produire du > XHTML... �a fera partie de XSLT 2.0 mais XSLT 1.0 n'a pas � faire cette distinction. Soit il produit du XML, soit du HTML (soit du texte mais ne nous int�resse pas ici). XSLT se base sur une arborescence, pas sur du texte. Tu auras beau �crire <br /> dans ta feuille de style, si la sortie est en XML, le processeur sera libre de produire <br/>, <br></br> ou <br />, tant que �a repr�sente un �l�ment br vide. Si la sortie est HTML, il devra produire <br>. XSLT2.0 aura une sortie XHTML (certains processeurs, comme Xalan, l'impl�mentent d�j�) prenant en compte ces cas de "compatibilit� ascendante" de XHTML sur HTML4. Tom.
Technical Details
Message-ID:
<2262810.VVIhKElGaq@ltgt.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2-1.proxad.net!nnrp1.proxad.net.POSTED!not-for-mailReferences:
<9eg939$nf9$1@news.x-echo.com> <4586936.WV9SEqChMi@ltgt.net> <r7itis6sxf.fsf@enstimac.fr>Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,452174113c2c1d71 X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2001-05-23 12:01:47 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!proxad.net!feeder2-1.proxad.net!nnrp1.proxad.net.POSTED!not-for-mail Message-ID: <2262810.VVIhKElGaq@ltgt.net> From: Thomas Broyer <ptittom+news@free.fr> Subject: Re: Trivial ? Générer un retour chariot (< BR >) avec XSL Newsgroups: fr.comp.text.xml References: <9eg939$nf9$1@news.x-echo.com> <4586936.WV9SEqChMi@ltgt.net> <r7itis6sxf.fsf@enstimac.fr> Lines: 20 Organization: </> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8Bit Date: Wed, 23 May 2001 19:01:46 GMT NNTP-Posting-Host: 193.251.185.74 X-Complaints-To: abuse@proxad.net X-Trace: nnrp1.proxad.net 990644506 193.251.185.74 (Wed, 23 May 2001 21:01:46 CEST) NNTP-Posting-Date: Wed, 23 May 2001 21:01:46 CEST