Article View: fr.comp.text.xml
Article #10568xml: attribut d'�lements
From: lionel
Date: Fri, 01 Sep 2000 07:04
Date: Fri, 01 Sep 2000 07:04
22 lines
1401 bytes
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
Technical Details
Message-ID:
<lyIr5.744$1R.2712661@nnrp2.proxad.net>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-east!supernews.com!newsfeed.direct.ca!look.ca!codeine.org!fr.usenet-edu.net!usenet-edu.net!proxad.net!feeder2.proxad.net!nnrp2.proxad.net.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII X-Google-Thread: 114f60,921dba1da667e0bc,start X-Google-Attributes: gid114f60,public X-Google-ArrivalTime: 2000-09-01 00:05:05 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-east!supernews.com!newsfeed.direct.ca!look.ca!codeine.org!fr.usenet-edu.net!usenet-edu.net!proxad.net!feeder2.proxad.net!nnrp2.proxad.net.POSTED!not-for-mail From: "lionel" <goubetli@voila.fr> Newsgroups: fr.comp.text.xml Subject: xml: attribut d'�lements Lines: 27 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: <lyIr5.744$1R.2712661@nnrp2.proxad.net> Date: Fri, 01 Sep 2000 07:04:49 GMT NNTP-Posting-Host: 212.234.83.243 X-Complaints-To: abuse@proxad.net X-Trace: nnrp2.proxad.net 967791889 212.234.83.243 (Fri, 01 Sep 2000 09:04:49 CEST) NNTP-Posting-Date: Fri, 01 Sep 2000 09:04:49 CEST Organization: Guest of ProXad - France