answersLogoWhite

0


Best Answer

Both SAX and DOM are used to parse the XML document. Both

has advantages and disadvantages and can be used in our

programming depending on the situation

SAX:

1. Parses node by node

2. Doesnt store the XML in memory

3. We cant insert or delete a node

4. Top to bottom traversing

DOM

1. Stores the entire XML document into memory before processing

2. Occupies more memory

3. We can insert or delete nodes

4. Traverse in any direction.

If we need to find a node and doesnt need to insert or

delete we can go with SAX itself otherwise DOM provided we

have more memory.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

Both SAX and DOM are used to parse the XML document. Both have advantages and disadvantages and can be used in our programming depending on the situation

SAX:

1. Parses node by node

2. Doesn't store the XML in memory

3. We cant insert or delete a node

4. Top to bottom traversing

DOM

1. Stores the entire XML document into memory before processing

2. Occupies more memory

3. We can insert or delete nodes

4. Traverse in any direction.

If we need to find a node and doesn't need to insert or delete we can go with SAX itself otherwise DOM provided we have more memory.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between sax and dom?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Music & Radio

What is the difference between a silver sax and a brass sax?

A "Brass" sax is simply another color. I have played both and as far as functionality and tone quality are concerned I neither see or hear any difference. Some might argue that the silver metal might give your tone a bit more "brightness", but their hearing would have to be abnormally sensitive. In a nut shell, the only difference is aesthetics.


Do the notes on a tenor sax use the same fingers as on a alto?

Yes. All the Sax family uses the same basic fingerings. Sax is a transposing instrument so the fingered notes are not the concert pitch of what is produced. A C# note is fingered the same on any sax but the note that comes out depends on which type of sax it is.The soprano sax is an octave higher than a tenor.The Alto sax is an octave higher than a baritone.There is a difference of a major sixth between the tenor and alto saxes.


What is the difference between the B flat soprano sax and the E flat Soprano Sax?

A B-Flat soprano sax is in the same key as a trumpet, clarinet, tenor sax, etc.. This is the most common soprano sax. If you were in band you'd probably be playing one of those parts as most band arrangements don't have a soprano sax part. An E-flat soprano sax is in the same key as an alto sax, or a bari sax. Sopranos in this key are less common & if you played this one in band they'd probably stick you with a alto sax part. My opinion is to get a b-flat as that is the most popular key for soprano & has more opportunities just in case the band actually does need a soprano, you'd be able to play the part.


What is the difference between alto saxohone and tenor saxophone?

The Alto Sax is the second smallest in the range, The Soprano Sax is the smallest and plays in the highest register. The Tenor fits in the range between the Alto and the Baritone and is a fairly standard Jazz and blues instrument playing in the Mid to Bass range


Are the fingers spread apart more on a tenor sax than an alto sax?

Tenor Sax There's not a lot of difference in the finger spacing. Even though the keys that open and close are further apart, the finger touches are placed almost as close together.

Related questions

What is the fullform of SAX parser in HTML?

SAX (Simple API for XML) is a serial access parser API for XML. SAX provides a mechanism for reading data from an XML document. It is a popular alternative to the Document Object Model (DOM).


What is the difference between a silver sax and a brass sax?

A "Brass" sax is simply another color. I have played both and as far as functionality and tone quality are concerned I neither see or hear any difference. Some might argue that the silver metal might give your tone a bit more "brightness", but their hearing would have to be abnormally sensitive. In a nut shell, the only difference is aesthetics.


What is the difference between an HTML page and a dhtml page?

DHTML combines HTML, JavaScript, the HTML DOM, and CSS.


Do the notes on a tenor sax use the same fingers as on a alto?

Yes. All the Sax family uses the same basic fingerings. Sax is a transposing instrument so the fingered notes are not the concert pitch of what is produced. A C# note is fingered the same on any sax but the note that comes out depends on which type of sax it is.The soprano sax is an octave higher than a tenor.The Alto sax is an octave higher than a baritone.There is a difference of a major sixth between the tenor and alto saxes.


How are the horns different between a bflat tenor sax and an eflat tenor sax?

The tenor sax is in the key b flat and the alto sax is in the key e flat.


What is the difference between the alto and tenor saxophone?

The Alto Sax is the second smallest in the range, The Soprano Sax is the smallest and plays in the highest register. The Tenor fits in the range between the Alto and the Baritone and is a fairly standard Jazz and blues instrument playing in the Mid to Bass range


How do you tell between a sax reed and a clarinet reed?

Sax reeds are like 3x bigger


How read xml file in java?

Java provides several XML Parsers like DOM, SAX or JDOM and API javax.xml.parsers by using those we can easily read xml files in Java. DOM is quickest and easiest way to read XMlL file in Java.


What is the difference between the B flat soprano sax and the E flat Soprano Sax?

A B-Flat soprano sax is in the same key as a trumpet, clarinet, tenor sax, etc.. This is the most common soprano sax. If you were in band you'd probably be playing one of those parts as most band arrangements don't have a soprano sax part. An E-flat soprano sax is in the same key as an alto sax, or a bari sax. Sopranos in this key are less common & if you played this one in band they'd probably stick you with a alto sax part. My opinion is to get a b-flat as that is the most popular key for soprano & has more opportunities just in case the band actually does need a soprano, you'd be able to play the part.


What is the difference between alto saxohone and tenor saxophone?

The Alto Sax is the second smallest in the range, The Soprano Sax is the smallest and plays in the highest register. The Tenor fits in the range between the Alto and the Baritone and is a fairly standard Jazz and blues instrument playing in the Mid to Bass range


Are the fingers spread apart more on a tenor sax than an alto sax?

Tenor Sax There's not a lot of difference in the finger spacing. Even though the keys that open and close are further apart, the finger touches are placed almost as close together.


What song goes dom diggy diggy dom dom-dom dom diggy diggy dom dom?

the dom dom dom song im pretty sure i just heard it and i like it and reserched it and that should be right so the dom dom dom songand this song is quite silly . Its called "Come Softly To Me" by The Fleetwoods! It took me forever to find it but I HAVE WON!