Click here to Skip to main content
15,906,645 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: Which my choice? DOM or SAX Pin
Paul Watson23-Oct-02 21:46
sitebuilderPaul Watson23-Oct-02 21:46 
GeneralRe: Which my choice? DOM or SAX Pin
Clark John23-Oct-02 22:44
Clark John23-Oct-02 22:44 
GeneralRe: Which my choice? DOM or SAX Pin
Paul Watson24-Oct-02 1:52
sitebuilderPaul Watson24-Oct-02 1:52 
GeneralRe: Which my choice? DOM or SAX Pin
Clark John24-Oct-02 20:44
Clark John24-Oct-02 20:44 
GeneralRe: Which my choice? DOM or SAX Pin
Chris Austin25-Oct-02 5:38
Chris Austin25-Oct-02 5:38 
GeneralRe: Which my choice? DOM or SAX Pin
Michael A. Barnhart24-Oct-02 5:57
Michael A. Barnhart24-Oct-02 5:57 
GeneralRe: Which my choice? DOM or SAX Pin
Clark John24-Oct-02 20:46
Clark John24-Oct-02 20:46 
GeneralRe: Which my choice? DOM or SAX Pin
Michael A. Barnhart25-Oct-02 1:25
Michael A. Barnhart25-Oct-02 1:25 
I definitly will be willing to offer some comments.
Some of my background to let you understand the limits of what I can offer.
For the last 18 months I have not been programming (much), as I am now a system architect (Manager egad.) For our needs we have been building upon the Apache Cocoon project. It however is Java based (again so others have been doing the programming that I have spec'd, I am still a C++ guy.) Due to the above most of our parser usage has been with the Java versions of Apache Xerces and Xalan. A warning here. There are C++ versions but I have found the Xalan is quirky and have stayed away from it.

I am assuming you are using the MSXML parser. I have not used the SAX implementation of it. However:
For some reference just type in MSXML and SAX into google.
I just did and the first page was
http://www.perfectxml.com/msxmlsax.asp
It looks like it has a intro and several references. Might be a starting point.

I then added Transformation to google and found
http://www.perfectxml.com/msxmlxslt.asp
google must like perfetxml todaySmile | :)

The big issue is here what is happening between the parsers. In DOM you have the whole thing and can process the data in how ever you see fit. In SAX you are responding to events that are thrown as the data stream is read. You may have to think a little here but the impact is the sequence of how you have to respond to those events may be different.

I suggest get a tool that will step through or at least display the results of a transformation. Start with a simple example to get a feel of what is happening.
Some I can recommend are
Marrowsofts ($ but a 30 day eval)
StylusStudio (Same)

There are some other free tools also.
see http://www.garshol.priv.no/download/xmltools/name_ix.html
I have used "CookTop" http://www.xmlcooktop.com/ in the above list and for a free tool it works fairly well.
I hope this helps some.

"We are what we repeatedly do. excellence, then, is not an act, but a habit." Aristotle

GeneralRe: Which my choice? DOM or SAX Pin
Clark John25-Oct-02 20:20
Clark John25-Oct-02 20:20 
Generalc# API for converting XSL-FO to PDF and other formats Pin
Asim N.23-Oct-02 16:58
Asim N.23-Oct-02 16:58 
GeneralRe: c# API for converting XSL-FO to PDF and other formats Pin
Philip Fitzsimons25-Oct-02 2:11
Philip Fitzsimons25-Oct-02 2:11 
QuestionLearn DOM in 21 minutes? Pin
Ravi Bhavnani22-Oct-02 7:28
professionalRavi Bhavnani22-Oct-02 7:28 
GeneralXSL sorting Pin
Jeremy Pullicino22-Oct-02 4:30
Jeremy Pullicino22-Oct-02 4:30 
GeneralRe: XSL sorting Pin
Richard Deeming23-Oct-02 2:40
mveRichard Deeming23-Oct-02 2:40 
GeneralLoading XML document as a string from a JavaScript variable Pin
Hitu22-Oct-02 3:12
Hitu22-Oct-02 3:12 
Generalxslt elected attrib-change Pin
Hugo Hallman20-Oct-02 23:07
Hugo Hallman20-Oct-02 23:07 
GeneralXML engine Pin
Jeremy Pullicino17-Oct-02 3:17
Jeremy Pullicino17-Oct-02 3:17 
GeneralRe: XML engine Pin
Stephane Rodriguez.17-Oct-02 3:41
Stephane Rodriguez.17-Oct-02 3:41 
GeneralRe: XML engine Pin
Jeremy Pullicino17-Oct-02 22:04
Jeremy Pullicino17-Oct-02 22:04 
Generalcreating ELEMENT with default namespace Pin
huikm16-Oct-02 1:03
huikm16-Oct-02 1:03 
GeneralRe: creating ELEMENT with default namespace Pin
Richard Deeming16-Oct-02 1:24
mveRichard Deeming16-Oct-02 1:24 
GeneralRe: creating ELEMENT with default namespace Pin
Anonymous16-Oct-02 15:33
Anonymous16-Oct-02 15:33 
GeneralUsing in characters in string Pin
Robbie Grundel14-Oct-02 16:58
Robbie Grundel14-Oct-02 16:58 
GeneralRe: Using in characters in string Pin
Shog914-Oct-02 19:02
sitebuilderShog914-Oct-02 19:02 
GeneralUsing in characters in string again Pin
François22-Oct-02 2:42
François22-Oct-02 2:42 

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.