Click here to Skip to main content
Rate this: bad
good
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 1:46am
Edited 15-Feb-11 23:25pm
v3
Comments
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
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 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
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 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 George Jonsson 175
1 Kornfeld Eliyahu Peter 169
2 Zoltán Zörgő 139
3 PIEBALDconsult 130
4 OriginalGriff 120
0 OriginalGriff 6,165
1 DamithSL 4,658
2 Maciej Los 4,107
3 Kornfeld Eliyahu Peter 3,649
4 Sergey Alexandrovich Kryukov 3,342


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