Click here to Skip to main content
11,921,870 members (66,247 online)
Rate this:
Please Sign up or sign in to vote.
See more: Javascript HTML

I have a one XML file from which i have to fetch portion of XML(some of the tags) into html web page,and then if i change the web page the changes should be reflected back in my XML,
thanks in advance.
Posted 15-Feb-11 1:46am
Edited 15-Feb-11 23:25pm
shivam13 16-Feb-11 4:25am
I have fetched the data from XML but now what i want is that if i modify the HTML web page the XML should also get modified ,is there a way to do it
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Until and unless you don't tell us where exactly you are stuck, it is difficult to pin-point the solution.
But you can start from here and see how to use javascript to perform xml manipulation at client side.
shivam13 15-Feb-11 7:20am
i have a xml which has lot of different kinds of tags with different types of data. What i want is that some of the tags are to be displayed on a HTML webpage and if i edit some data on to that webpage then my changes should reflect back to my original xml.
i tried with xml DSO but the problem with it is that DSO loads the whole of xml at one go...but i want some portions of that xml on different-different webpages and then save changes back to xml.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Manas given you a perfect link to learn XML in addition I am pointing you to check this[^] article to Edit XML data.
and to learn how to save you can go there[^]
shivam13 16-Feb-11 5:08am
I can't use any of server side language like asp or jsp ,is there a way to do it with java script

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 538
1 Dave Kreskowiak 260
2 Sergey Alexandrovich Kryukov 173
3 phil.o 170
4 RyanDev 134
0 OriginalGriff 7,036
1 KrunalRohit 4,530
2 Sergey Alexandrovich Kryukov 3,286
3 George Jonsson 2,840
4 Suvendu Shekhar Giri 2,216

Advertise | Privacy | Mobile
Web03 | 2.8.151120.1 | Last Updated 15 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100