🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: attribut avec du html? sérialisation?

#97
From: Mickaël Wolff
Date: Fri, 10 Jul 2009 15:12
36 lines
3206 bytes
samuel a �crit :

> pour le coup, c'est mon tour de t'engueuler: on ne pose pas des
> questions comme �a sans m�me avoir tap� 'lightbox' dans un moteur de
> recherches, voyons! :)
   Je me m�fie des idiosyncrasies. En l'occurence, j'appellerais �a une 
vignette modale. Mais sachant que ce n'est pas g�n�rique, j'expliquerai.

> moi au d�but c'�tait l'inverse, je voulais faire �a mais je savais pas
> comment �a s'appelait :)
   De mon temps on aurait appel� �a une bo�te modale :D Bon, ben faut 
pas chercher midi � quatorze heures alors.

   Bref, g�n�re ton �l�ment en dehors de l'attribut, avec une classe ou 
un attribut qui permet de cacher la bo�te. Et avec du javascript, tu 
g�re l'affichage de l'�l�ment (tu pourras le r�f�rencer d'une mani�re ou 
d'une autre). Mais l�, �a n'a plus rien � voir avec XML ou XSLT.

   D'ailleurs, tu d�tournes �galement a[@rel] � This attribute describes 
the relationship from the current document to the anchor specified by 
the href attribute. The value of this attribute is a space-separated 
list of link types. � 
<http://www.w3.org/TR/html4/struct/links.html#adef-rel>

   Dans le monde XML, une bonne pratique consiste � ne pas d�tourner les 
attributs ou les �l�ments pour ce � quoi ils ne sont pas destin�s. 
L'attribut name de la balise a de HTML ne sert pas � charrier n'importe 
quel type de contenu. � ce dessein, je ne peux que te recommander une 
nouvelle fois d'apprendre � faire du HTML avant de vouloir utiliser le 
bazooka qu'est XSLT.

-- 
Micka�l Wolff aka Lupus Michaelis
http://lupusmic.org

Seeking for a position <http://lupusmic.org/pro/>
Technical Details
Message-ID: <4a575a62$0$3595$426a74cc@news.free.fr>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!cleanfeed3-a.proxad.net!nnrp19-1.free.fr!not-for-mail
References: <59fda5c5-7bd7-40c5-948e-3995172f33ac@o6g2000yqj.googlegroups.com> <4a5709cb$0$25355$426a34cc@news.free.fr> <4e86689e-518e-42c8-99ff-5896f43a5f8d@a36g2000yqc.googlegroups.com> <4a571813$0$422$426a74cc@news.free.fr> <fd143b56-da42-4753-8f12-39303f667dbe@h2g2000yqg.googlegroups.com> <4a574abb$0$9362$426a74cc@news.free.fr> <d5b78a4b-1365-4bde-8cdb-71c0aadd673f@t13g2000yqt.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 8a75585569,bb872f6c83b9d4b8
X-Google-Attributes: gid8a75585569,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: FRENCH,ASCII
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!cleanfeed3-a.proxad.net!nnrp19-1.free.fr!not-for-mail
Date: Fri, 10 Jul 2009 17:12:39 +0200
From: Mickaël Wolff <mickael.wolff@laposte.net>
Reply-To: mickael.wolff@laposte.net
User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)
MIME-Version: 1.0
Newsgroups: fr.comp.text.xml
Subject: Re: attribut avec du html? sérialisation?
References: <59fda5c5-7bd7-40c5-948e-3995172f33ac@o6g2000yqj.googlegroups.com>  <4a5709cb$0$25355$426a34cc@news.free.fr> <4e86689e-518e-42c8-99ff-5896f43a5f8d@a36g2000yqc.googlegroups.com>  <4a571813$0$422$426a74cc@news.free.fr> <fd143b56-da42-4753-8f12-39303f667dbe@h2g2000yqg.googlegroups.com>  <4a574abb$0$9362$426a74cc@news.free.fr> <d5b78a4b-1365-4bde-8cdb-71c0aadd673f@t13g2000yqt.googlegroups.com>
In-Reply-To: <d5b78a4b-1365-4bde-8cdb-71c0aadd673f@t13g2000yqt.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 36
Message-ID: <4a575a62$0$3595$426a74cc@news.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 10 Jul 2009 17:12:34 MEST
NNTP-Posting-Host: 78.233.168.158
X-Trace: 1247238754 news-3.free.fr 3595 78.233.168.158:34207
X-Complaints-To: abuse@proxad.net