473,394 Members | 1,944 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to refelect the XML file if DOM gets changed?

dmjpro
2,476 2GB
I am trying to update a XML file by DOM changing the DOM.
Is it possible if i change, i mean if i add or remove any node from DOM then i want the XML file to be changed.
To update a file it's better to change the file directly using JAVA IO ... but i think it is possible with changing the DOM then it would be better to understand or analyze.
Please help me ...I am looking for the API is anything present in XML processing.

Debasis Jana
May 6 '08 #1
1 1173
dmjpro
2,476 2GB
I am trying to update a XML file by DOM changing the DOM.
Is it possible if i change, i mean if i add or remove any node from DOM then i want the XML file to be changed.
To update a file it's better to change the file directly using JAVA IO ... but i think it is possible with changing the DOM then it would be better to understand or analyze.
Please help me ...I am looking for the API is anything present in XML processing.

Debasis Jana
We did that using javax.xml.transformer package.
Simply extracting the string teh whole DOM then writes to the file using java.io but here the updation of XML content is easily understandable. This is what i wanted.

Debasis Jana.
May 6 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Nitin Narang | last post by:
I have a piece of code which is moved to .NET VC7 recently from VC6 and there has been an apparent change in behavior using CreateFile/Writefile functionality. I am creating a file on a shared...
40
by: googler | last post by:
I'm trying to read from an input text file and print it out. I can do this by reading each character, but I want to implement it in a more efficient way. So I thought my program should read one...
2
by: melanieab | last post by:
Hi, I'm trying to store all of my data into one file (there're about 140 things to keep track of). I have no problem reading a specific string from the array file, but I wasn't sure how to...
6
by: Greg Collins [MVP] | last post by:
For background, please refer to my original thread: http://groups.google.com/groups?selm=efe5w7tYEHA.3112%40tk2msftngp13.phx.gbl I've thought of a potential way around the issue, but I'm new to...
3
by: Damien Sawyer | last post by:
Hi, I'm playing around with stylesheets in VS.NET 2003's HTML/Webform editor. I have two documents open, one my ASPX page, the other my CSS file. When I make a change in the CSS file, it...
4
by: Smithers | last post by:
My ASP.NET application enables the user to update a css file that is used to style pages in the same application. During testing I discovered that sometimes when the css file gets updated, the...
3
by: segecko | last post by:
Hi I have a created a custom usercontrol which inherites an Excel like usercontrol. In this usercontrol I have a custom property called SpreadTemplate, which is an enum with (at the moment) two...
3
by: JDeats | last post by:
I have some .NET 1.1 code that utilizes this technique for encrypting and decrypting a file. http://support.microsoft.com/kb/307010 In .NET 2.0 this approach is not fully supported (a .NET 2.0...
17
by: NeoAlchemy | last post by:
I am starting to find more web pages that are using a query parameters after the JavaScript file. Example can be found at www.opensourcefood.com. Within the source you'll see: <script...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.