Click here to Skip to main content
12,398,225 members (57,829 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Javascript HTML
Hi

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
Updated 15-Feb-11 22:25pm
v3
Comments
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
 
good
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.
  Permalink  
Comments
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
 
good
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[^]
  Permalink  
Comments
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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160721.1 | Last Updated 15 Apr 2013
Copyright © CodeProject, 1999-2016
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