XML and my data
-
Hi folks, I have been hearing how good XML is when it comes to creating structured documents. My question is: I have tons of documents (text form), how do I port over to XML in the shortest time? And, after porting, how do I update, edit it? It's not like SQL which I can code some interface (mainly in browser) to deal with it. I've been wondering this, can any kind soul answer me? Thanks.:eek: -- Wei-Hui
-
Hi folks, I have been hearing how good XML is when it comes to creating structured documents. My question is: I have tons of documents (text form), how do I port over to XML in the shortest time? And, after porting, how do I update, edit it? It's not like SQL which I can code some interface (mainly in browser) to deal with it. I've been wondering this, can any kind soul answer me? Thanks.:eek: -- Wei-Hui
Lim Wei-Hui wrote: tons of documents (text form) I presume there is a standard format that all your txt docs use? Like delimitors for different sections? Lim Wei-Hui wrote: how do I update, edit it? It is actually pretty easy to update XML documents, so I don't think this is an issue. All you'll need to do is: load xml file into xmldom manipulate nodes and or their values save the xmldom back to the file Can you perhaps post a snipett from the doc. and also explain a bit more about this application? Cheers, Simon "The day I swan around in expensive suits is the day I hope someone puts a bullet in my head.", Chris Carter.
my svg article -
Lim Wei-Hui wrote: tons of documents (text form) I presume there is a standard format that all your txt docs use? Like delimitors for different sections? Lim Wei-Hui wrote: how do I update, edit it? It is actually pretty easy to update XML documents, so I don't think this is an issue. All you'll need to do is: load xml file into xmldom manipulate nodes and or their values save the xmldom back to the file Can you perhaps post a snipett from the doc. and also explain a bit more about this application? Cheers, Simon "The day I swan around in expensive suits is the day I hope someone puts a bullet in my head.", Chris Carter.
my svg articleHi Simon, thanks for replying me. My documents are mainly some header files in C/C++ that are filled with typedef and structs. I would like to set up an interface that enable me to select from browser which typedef and structure I wanna include in the new header file and hence generatin' it out as a *.h file. Of course each typedef and structure has their unique function and properties, I presume (haven't looked into it). I hope I've made myself clear. Thanks for your help again. -- Wei-Hui -- Wei-Hui