Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

write Array to XML file

Posted on 2009-04-07
3
Medium Priority
?
480 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

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 …
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

715 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