Click here to Skip to main content
11,705,098 members (50,041 online)
Rate this: bad
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 0:46am
Edited 15-Feb-11 22:25pm
shivam13 at 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 at 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 at 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 Sergey Alexandrovich Kryukov 595
1 OriginalGriff 289
2 Andy Lanng 175
3 CPallini 162
4 ppolymorphe 126
0 OriginalGriff 8,958
1 Sergey Alexandrovich Kryukov 8,276
2 CPallini 5,189
3 Maciej Los 4,726
4 Mika Wendelius 3,606

Advertise | Privacy | Mobile
Web01 | 2.8.150819.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