Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

write Array to XML file

Posted on 2009-04-07
3
Medium Priority
?
487 Views
Last Modified: 2012-05-06
HI guys,

I have function which reads stores the nodes in array,

Now i want a generic function which just gets the array and writes to XML file.......

Please help me its urgent ,,,,,
0
Comment
Question by:montu_12
  • 2
3 Comments
 
LVL 27

Expert Comment

by:Dabas
ID: 24094135
A function in WHAT language?

Give an example of an array and the xml you want to produce

Dabas
0
 

Accepted Solution

by:
montu_12 earned 0 total points
ID: 24097218
hi, I used this http://mysrc.blogspot.com/2007/02/php-xml-to-array-and-backwards.html

It seems that its working for getting data from XML file to Array and then you can make changes in the arrya and you call arry2XML function.....

When i call array2XML function it just returns updated array - it does not actually writes to the xml file,

So i have updated array but how do i write back to xml

xml file should change with new updates..... when i use above link code - it does not update my xml file with new changes...

can you please help
0
 
LVL 27

Expert Comment

by:Dabas
ID: 24112193
I do not know PHP.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Problem How to write an Xquery that works like a SQL outer join, providing placeholders for absent data on the outer side?  I give a bit more background at the end. The situation expressed as relational data Let’s work through this.  I’ve …
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month8 days, 19 hours left to enroll

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question