XML
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists XML

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old April 18th, 2008, 09:40 AM
Ashish Lal
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Help with updating XML files

I have about 4 to 5 xml small sized xml files (each with say 20 element nodes). I need an way to update the nodes in the XML files from a C++ program. The C++ program would call a function with the right parameters and the right node would be updated (see example below). I am using this in a linux based embedded application and would like to avoid installing an XML database.

Example: See the XML file below -

<Sensors>
<Temperature70 </Temperature>
<Pressure200 </Pressure>
<Humidity20 </Humidity>
</Sensors>


How can I update the value of (say) Temperature from 70 to 90 in the XML file from a C++ program?

Any help or pointers would be deeply appreciated.

Regards,

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists XML > Help with updating XML files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway