Click here to Skip to main content
15,915,319 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: problem updating a xml doc with AppendChild Pin
rudy.net21-Apr-05 19:12
rudy.net21-Apr-05 19:12 
GeneralUpdaing an XML file Pin
Anonymous17-Apr-05 3:10
Anonymous17-Apr-05 3:10 
GeneralRe: Updaing an XML file Pin
DavidNohejl17-Apr-05 3:19
DavidNohejl17-Apr-05 3:19 
Generalproblem with invalid characters in strings Pin
Anonymous16-Apr-05 17:26
Anonymous16-Apr-05 17:26 
GeneralRe: problem with invalid characters in strings Pin
DavidNohejl16-Apr-05 22:59
DavidNohejl16-Apr-05 22:59 
GeneralCannot run quiz found on this site Pin
gamerz4life16-Apr-05 14:48
gamerz4life16-Apr-05 14:48 
GeneralRe: Cannot run quiz found on this site Pin
DavidNohejl16-Apr-05 23:09
DavidNohejl16-Apr-05 23:09 
GeneralEditing XML Pin
Member 114461716-Apr-05 7:53
Member 114461716-Apr-05 7:53 
I am writing a compact framework application that stores data in an XML file. Consiquently I have to read and write and edit the data that is stored in this file. Reading and searching the data is easy enough however I am looking for the most efficient way to edit the data once stored.

The solution that I have seen suggested most often is to use XmlDocument to open the file and edit it. However I have seen it written that the fact that XmlDocument requires the entire document to be read into memory is in efficient and a bad idea with memory restricted devices such as a PDA.

This leads me to have the following questions:

Is the performance issues of XmlDocument a large concern if I am going to be opening the file, finding what I am looking for editing and closing all at once?

Secondly, if the answer to that question is true, what is the best way to edit a file? My next thought would be to use a conjunction of XmlTextReader and XmlTextWriter to search the file and push into a buffer as I go, but that seems tedious.

Many thanks for your time and advice,
Andy
GeneralRe: Editing XML Pin
DavidNohejl16-Apr-05 8:08
DavidNohejl16-Apr-05 8:08 
GeneralPrinting Screen Pin
Member 168150415-Apr-05 0:28
Member 168150415-Apr-05 0:28 
GeneralRe: Printing Screen Pin
Javier Lozano15-Apr-05 18:54
Javier Lozano15-Apr-05 18:54 
QuestionHow to display all xml fields and values using ASP Pin
Boy7514-Apr-05 9:30
sussBoy7514-Apr-05 9:30 
AnswerRe: How to display all xml fields and values using ASP Pin
Hrashita Triapthi22-Apr-05 0:50
Hrashita Triapthi22-Apr-05 0:50 
GeneralXML generation using DTD in VC++ Pin
guru*p13-Apr-05 9:58
guru*p13-Apr-05 9:58 
GeneralWeb Service Consuming VB 60 Pin
Anonymous13-Apr-05 8:00
Anonymous13-Apr-05 8:00 
GeneralValidate XML file with DTD Pin
Nusrat.Khan13-Apr-05 5:36
Nusrat.Khan13-Apr-05 5:36 
GeneralConvert SQLServer dataset into XML using XSD Pin
SarunMK13-Apr-05 5:04
SarunMK13-Apr-05 5:04 
GeneralRe: Convert SQLServer dataset into XML using XSD Pin
Javier Lozano15-Apr-05 19:00
Javier Lozano15-Apr-05 19:00 
GeneralRe: Convert SQLServer dataset into XML using XSD Pin
SarunMK16-Apr-05 3:02
SarunMK16-Apr-05 3:02 
GeneralMultipart/Related XML Pin
Weiz817-Apr-05 16:34
Weiz817-Apr-05 16:34 
GeneralPopulating datagrid from typed dataset Pin
C_Simpkins7-Apr-05 11:29
C_Simpkins7-Apr-05 11:29 
QuestionHow do i use Xquery with asp 3.0 Pin
Wilbur J. Pereira6-Apr-05 20:24
Wilbur J. Pereira6-Apr-05 20:24 
GeneralXML Data Pin
Anonymous6-Apr-05 3:39
Anonymous6-Apr-05 3:39 
GeneralXML Pin
Anonymous6-Apr-05 3:34
Anonymous6-Apr-05 3:34 
GeneralXML with Crystal Report Pin
Anonymous6-Apr-05 3:23
Anonymous6-Apr-05 3:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.