Jump to content


Photo

Alter Xml File Without Xml Lib


  • Please log in to reply
No replies to this topic

#1 ThunderAI

ThunderAI

    Advanced Member

  • Members
  • PipPipPip
  • 102 posts

Posted 26 November 2012 - 08:12 PM

How would I go about changing an xml file with custom tags. All i want to do is open the file, change some numbers and save the file. I'd rather not make an XML scheme for the file and do it that way.

for example, I have a file with many tags like this:

<tag x="3364.994" y="599.9155" z="0.3324151" />

and I want to alter the x and y values based on some criteria.

What would be the best approach to do that?

Thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com