SiteExperts.com Logo Home | Community | Developer's Paradise
User Groups | Site Tools | Site Information | Search
 Main Menu
 Forums
SiteExperts.com Forums
All Discussions

SiteExperts Feedback
The Lounge
Dynamic HTML
Site Design/ Critiques
HTML and CSS
XML Technologies
The Wireless Internet
Internet Explorer
Microsoft .NET
The Server
Technical Support

Sponsored Links

User Groups : Forums : SiteExperts : XML Technologies :

Previous DiscussionNext Discussion
 How to remove the element ?

HI All,

I am trying to parse the data using xml,

requirement,

     <one>

         <two>

             <three ss=1>123</three>

            <three ss=2>123</three>

           <three ss=1>124</three>

      </two>

   </one>

Code:

CreateElement(curr1,...) //for the first "three" element

CreateElement(curr1,...)//for the second "three" element

but the problem is when i update the value of ss in the 2nd "three" element, the previous element's ss gets updated.

How do i release the element(or node) and reuse the same node name for creating the next element?

 

Started By masg on Oct 10, 2005 at 5:22:47 AM

3 Response(s) | Reply

View All Replies
MHenke on Oct 10, 2005 at 7:38:11 AM

  • You may want to tell us what language/parser/whatever you're using
  • Do you parse or create an XML document? Your posting suggests both
  • The code example isn't sufficient, whatever language you're using
  • I'm tired and I want to go home
  • You can safely ignore the preceding point

View All Replies

To respond to a discussion, you must first logon.

If you are not registered, please register yourself to become a member of the SiteExperts.community.

User Name
Password
Copyright 1997-2000 InsideDHTML.com, LLC. All rights reserved.