🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: fr.comp.text.xml
1 messages
1 total messages Started by lionel Fri, 01 Sep 2000 07:04
xml: attribut d'�lements
#10568
Author: lionel
Date: Fri, 01 Sep 2000 07:04
22 lines
1401 bytes
salut,

comment faire pour rajouter un attribut � un �l�ment qui a �t� cr��?
Par exemple, je voudrais cr�er la ligne suivante:

<certif  id="500">
    <cle>hjsgdjhgs</cle>
    .............

</certif>

avec le code suivant ceci ne marche pas

set noeud_certurba = xmldoc.createNode("element","certif", "")

 certif.setAttribute("id","500")


Pouquoi? quelqu'un a t-il la solution?


merci
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads