Click here to Skip to main content
16,006,749 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Editable XML from MSXML Pin
28-Mar-02 4:58
suss28-Mar-02 4:58 
GeneralRe: Editable XML from MSXML Pin
Michael A. Barnhart28-Mar-02 8:52
Michael A. Barnhart28-Mar-02 8:52 
GeneralRe: Editable XML from MSXML Pin
David Chamberlain28-Mar-02 10:37
David Chamberlain28-Mar-02 10:37 
GeneralRe: Editable XML from MSXML Pin
Neville Franks28-Mar-02 11:08
Neville Franks28-Mar-02 11:08 
GeneralRe: Editable XML from MSXML Pin
Michael A. Barnhart28-Mar-02 11:18
Michael A. Barnhart28-Mar-02 11:18 
GeneralRe: Editable XML from MSXML Pin
Michael A. Barnhart28-Mar-02 11:02
Michael A. Barnhart28-Mar-02 11:02 
GeneralRe: Editable XML from MSXML Pin
David Chamberlain28-Mar-02 11:29
David Chamberlain28-Mar-02 11:29 
GeneralRe: Editable XML from MSXML Pin
Michael A. Barnhart28-Mar-02 11:38
Michael A. Barnhart28-Mar-02 11:38 
First my appoligies for not being a better writer. I am not getting the story across very well. An element is a node but a node may not be an element. or a node could be an element. It could also be text, processing instructions, comments, etc.

In your example:
David Chamberlain wrote:
[Node1][EOL]"\n"[/EOL]
[Data2]Here is data[/Data2][EOL]"\n"[/EOL]
[/Node1][EOL]"\n"[/EOL]


you have added child elements to the element called node1. What is missing are the child nodes that are not elements, not adding more elements. I guess it has been to many months since I stepped through the MS DOM model.

What I did to finally get a better feel of what was going on in the MS DOM model was to create a simple dialog app that when a button was pressed created a MSDOM instance and read in a XML file. I then added code that found the root element of the document and sent it to a function that would get the list of child nodes and looked at what types they were. When I found a node that was an element I recursed back to the function. It helped me see all of the items that were existed. I am not sure if I have this save or not.

I left it there and concluded for my needs the class I had written worked fine and I would use it for any manipulation of XML files. I do use the MS DOM to read in files as well as some of the Apache code.

Good ideas are not adopted automatically.
They must be driven into practice with courageous patients. -Admiral Rickover. ...
GeneralRe: Editable XML from MSXML Pin
David Chamberlain28-Mar-02 11:59
David Chamberlain28-Mar-02 11:59 
GeneralRe: Editable XML from MSXML Pin
Michael A. Barnhart28-Mar-02 15:13
Michael A. Barnhart28-Mar-02 15:13 
GeneralRe: Editable XML from MSXML Pin
Michael A. Barnhart28-Mar-02 16:53
Michael A. Barnhart28-Mar-02 16:53 
GeneralRe: Editable XML from MSXML Pin
David Chamberlain29-Mar-02 3:02
David Chamberlain29-Mar-02 3:02 
GeneralRe: Editable XML from MSXML Pin
Michael A. Barnhart29-Mar-02 3:14
Michael A. Barnhart29-Mar-02 3:14 
QuestionParsing takes too long - How to speed-up??? Pin
Rybeck25-Mar-02 6:29
Rybeck25-Mar-02 6:29 
AnswerRe: Parsing takes too long - How to speed-up??? Pin
Michael A. Barnhart27-Mar-02 11:44
Michael A. Barnhart27-Mar-02 11:44 
GeneralAn interesting example Pin
Michael A. Barnhart21-Mar-02 15:22
Michael A. Barnhart21-Mar-02 15:22 
GeneralXSLT to write links Pin
MS le Roux17-Mar-02 23:06
MS le Roux17-Mar-02 23:06 
GeneralRe: XSLT to write links Pin
David Wengier17-Mar-02 23:45
David Wengier17-Mar-02 23:45 
GeneralRe: XSLT to write links Pin
MS le Roux18-Mar-02 5:00
MS le Roux18-Mar-02 5:00 
GeneralRe: XSLT to write links Pin
Paul Watson20-Mar-02 22:12
sitebuilderPaul Watson20-Mar-02 22:12 
GeneralRe: XSLT to write links Pin
Atlantys8-Apr-02 6:26
Atlantys8-Apr-02 6:26 
GeneralTrying to write a filter Pin
Christian Graus13-Mar-02 9:41
protectorChristian Graus13-Mar-02 9:41 
GeneralRe: Trying to write a filter Pin
MS le Roux13-Mar-02 19:08
MS le Roux13-Mar-02 19:08 
GeneralRe: Trying to write a filter Pin
Christian Graus13-Mar-02 20:28
protectorChristian Graus13-Mar-02 20:28 
GeneralRe: Trying to write a filter Pin
Paul Watson14-Mar-02 0:46
sitebuilderPaul Watson14-Mar-02 0:46 

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.