From: Olivier Thaon (Olivier_Thaon@noposi.com)
Date: 31/01/2001 - 13:46
salut à tous,
j'ai besoin d'ajouter des attributs dans certain des mes éléments. (ASP est
la technologie utilisée)
J'ai qqls difficultés à trouver la bonne structure pour ma commande.
Voici ce que je possède:
- mon root (root = xmlDoc.documentElement)
- la commande pour créer mon attribut (xmlDoc.createAttribute("check"))
- l'élément qui doit recevoir un attribut (nodeList =
xmlDoc.getElementsByTagName(temp) ) -> temp étant le nom de mon élément
pourriez-vous m'aider à insérer mon attribut ?
d'avance merci
*****************************************
* Olivier Thaon
* WebMaster
*
* NOPOSI
* Grootbosstraat, 127
* 1652 Alsemberg
* Belgium
* Tel: +32 (0) 2 383.00.40
* Fax: +32 (0) 2 383.00.47
* Email: olivier_thaon@noposi.com
* Web: www.noposi.be
*****************************************
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:05 UTC
webmaster@xmlfr.org
|