Solved

write Array to XML file

Posted on 2009-04-07
3
471 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

710 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