473,399 Members | 4,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Does .Net XML Library support both SAX and DOM Model?

thx
Jan 19 '06 #1
2 1246


Baron wrote:

The .NET framework XML classes provided by Microsoft do not support SAX,
rather where SAX is push based parsing .NET provides a pull based
parsing API with XmlReader (respectively XmlTextReader).
DOM is supported the Microsoft and .NET way, System.Xml and its classes
XmlNode, XmlAttribute, XmlDocument, XmlDocumentFragment, XmlEntity,
XmlLinkedNode, XmlCharacterData, XmlDeclaration, XmlDocumentType,
XmlElement, XmlEntityReference, XmlProcessingInstruction, XmlNotation
can be seen as an implementation of the W3C DOM Level 2 Core but with
lots of convenient extensions (like InnerXml, OuterXml, InnerText) and
with variations (e.g. DOM as specified by the W3C wants a
getElementsByTagNameNS whereas DOM as implemented in .NET makes uses of
the possible overloading of methods and implements on
GetElementsByTagName method with necessary overloads to pass in a
namespace URI).

If you want SAX in .NET google for third party solutions.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
Jan 20 '06 #2
Thanks!

"Martin Honnen" <ma*******@yahoo.de> wrote in message
news:e4*************@TK2MSFTNGP15.phx.gbl...


Baron wrote:

The .NET framework XML classes provided by Microsoft do not support SAX,
rather where SAX is push based parsing .NET provides a pull based parsing
API with XmlReader (respectively XmlTextReader).
DOM is supported the Microsoft and .NET way, System.Xml and its classes
XmlNode, XmlAttribute, XmlDocument, XmlDocumentFragment, XmlEntity,
XmlLinkedNode, XmlCharacterData, XmlDeclaration, XmlDocumentType,
XmlElement, XmlEntityReference, XmlProcessingInstruction, XmlNotation can
be seen as an implementation of the W3C DOM Level 2 Core but with lots of
convenient extensions (like InnerXml, OuterXml, InnerText) and with
variations (e.g. DOM as specified by the W3C wants a
getElementsByTagNameNS whereas DOM as implemented in .NET makes uses of
the possible overloading of methods and implements on GetElementsByTagName
method with necessary overloads to pass in a namespace URI).

If you want SAX in .NET google for third party solutions.

--

Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/

Jan 22 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: ketulp_baroda | last post by:
Hi Does python support MVC architecture? Java has register & notify obsever methods in javax.util . Does python has these functions. If not then how to register the views with the models & how to...
5
by: Steven T. Hatton | last post by:
I've seen people here write that C++ doesn't support modules. What does that mean? 'Module' is a very nebulous term in my book. It probably means something quite different to me than what it does...
15
by: grunar | last post by:
After some thought on what I need in a Python ORM (multiple primary keys, complex joins, case statements etc.), and after having built these libraries for other un-named languages, I decided to...
16
by: Randy Yates | last post by:
I have an Access database that has been running fine on multiple platforms (Windows 2000, Windows XP, etc.) for several years. Recently, the database has begun to issue "Run-Time Error 2467" on...
22
by: Ryan M | last post by:
I've been programming for a while, but most of my experience is on unix. How do C compilers work on operating systems that weren't written in C? And that have no libc? Compiling C on unix seems...
25
by: JeffS | last post by:
Honest, I scoured the comp.lang.c.faq for this but found nothing. :) Is there a library function for placing the cursor position in the console? Or is it something that can only be done with a...
2
by: Graham Allwood | last post by:
I'm reading the Essential ASP.NET book by Fritz onion and he says that when VS.NET creates a new .aspx page for you is uses the codebehind attribute on the Page directive rather than the src...
8
by: walesboy | last post by:
greetings - I have a btnSubmit button with a Handles btnSubmit.click which works great if all the user does is click that button. But, if the user ALSO changes a text box on the page (which...
3
by: Nick Gilbert | last post by:
Hi, In my VS.NET 2005, if I choose Build Clean Solution, the BIN folder is not touched. Shouldn't it delete all the dll and pdb files in that folder first? Instead, I'm finding I have to do it...
162
by: Sh4wn | last post by:
Hi, first, python is one of my fav languages, and i'll definitely keep developing with it. But, there's 1 one thing what I -really- miss: data hiding. I know member vars are private when you...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.