| |   Skin:   
      User: Not logged in 
Newsletter Signup
XSLT Library
Latest XML Blogs
Featured Examples
Featured Articles
Book Chapters
Training Courses
Sign In
My Profile
My Articles
My Examples
My Favorites
My Resources
Add a Resource
About Me
My Blog
HeadGeek Articles
Talking Portfolio
World Trip Pics


 Database (21)  RSS (27)  WebService (222)  XMLHTTP (3)
 Debugging (29)  SAX (56)  WML (95)  XMPP (9)
 DIME (14)  Schema (45)  WSDL (80)  XPath (78)
 DOM (56)  SMIL (38)  XAML (2)  XPointer (12)
 DTD (23)  SOA (1)  XBRL (64)  XQL (24)
 ebXML (52)  SOAP (135)  XForms (92)  XQuery (71)
 Flash (12)  SQL (16)  XHTML (108)  XSchema (30)
 Java (70)  SQLXML (139)  XLL (1)  XSL (422)
 MathML (11)  SVG (56)  XML (766)  XSL-FO (28)
 Oracle (28)  VoiceXML (80)  XML.NET (85)  XSQL (6)
 Pattern (3)  WebDAV (17)  XMLA (1)  XUL (13)
 RDF (28)

Total Articles: 3,169


sax Articles
Prev Next
1 2 3
Using SAX in Java
This article helps you understand: What is Simple API for XML (SAX); SAX Implementations in J2SDK; SAX Content Handler Interface My SAX Based XML Browser

Type: SAX  #Views: 514  Category: Article    

Practical SAX Notes
In this article I discuss issues related to recent articles in this column, including some practical problems using XML facilities -- SAX in particular -- across Python versions and installed software configurations. I also revisit ElementTree's support for XML namespaces and discuss some other Python tools' support for breaking large documents into chunks.

Type: SAX  #Views: 726  Category: Article    

SAX, the Simple API for XML
Today there are two widely accepted APIs for working with XML: the Simple API for XML (SAX) and the Document Object Model (DOM). Both APIs define a set of abstract programmatic interfaces that model the XML Information Set (Infoset). The DOM models the Infoset through a hierarchy of generic nodes that support well-defined interfaces. Due to the DOM's tree-based model, most implementations demand that the entire XML document be contained in memory while processing. SAX, on the other hand, models the Infoset through a linear sequence of well-known method calls. Because SAX doesn't demand resources for an in-memory representation of the document, it's a lightweight alternative to the DOM.

Type: SAX  #Views: 726  Category: Article    

Some Fun with SAX
In this article, I want to take a close look at the Visual Basic® SAX interface included in the July 2000 Microsoft XML Parser Beta Release. I decided to write some Visual Basic code, for a change, and I ended up writing quite a lot of code. I also gave the MSXML2.VBSAXXMLReader30 class a really good work out. The application looks like this:

Type: SAX  #Views: 626  Category: Article    

Simplify document handler programs with the SAX parser
Sometimes the code of a SAX document handler can become cumbersome, poorly structured, and difficult to maintain, especially for complex XML structures with many different elements. This article presents a design strategy that addresses this problem, and, therefore, can improve the quality and the maintainability of your code.

Type: SAX  #Views: 1416  Category: Article    

Introduction to SAX Path and Jaxen
The W3C ( defined XML as a data model. Soon thereafter, work was started to define XPath, the language for addressing parts of an XML document. XPath isn't a technology for performing queries upon an XML document - that's the realm of the XQuery specification - but rather a simpler method for addressing or matching parts of a document.

Type: SAX  #Views: 742  Category: Article    

Relax, and Take it Easy
Two technologies introduced on Wednesday at XTech 2000 promise to make developers' lives easier, giving them less work to do in processing and managing XML.

Type: SAX  #Views: 565  Category: Article    

What is SAX, Part 4
In Part 3 of this series of articles on SAX, I provided a general discussion and showed you the output of a Java program that uses XML4J to parse and display the various parts of a simple XML document. I promised to continue the discussion of the program in this article, and to show you the Java code that was used to produce the output shown.

Type: SAX  #Views: 294  Category: Article    

Building a compiler for the SAX ContentHandler
This month Benoît Marchal launches a second Working XML project. The new project, called HC (short for Handler Compiler), will take some drudgery out of event-based XML parsing by automatically generating the SAX ContentHandler for a list of XPaths. This installment of the column describes the requirements for the Java project and analyzes its overall design, from the ContentHandler to transition diagrams.

Type: SAX  #Views: 260  Category: Article    

Mapping XML to Java, Part 1
The SAX API is superior to the DOM API in many aspects of runtime performance. In this article we will explore using SAX to map XML data to Java. Because using SAX is not as intuitive as using DOM, we will also spend some time familiarizing ourselves with coding to SAX.

Type: SAX  #Views: 288  Category: Article    

Transforming XML With SAX Filters
Last month we began our exploration of more advanced SAX topics with a look at how SAX events can be generated from non-XML data. This month, we conclude the series by introducing SAX filters and their use in XML data transformation.

Type: SAX  #Views: 287  Category: Article    

Introducing XML::SAX::Machines, Part Two
In last month's column we began our introduction to XML::SAX::Machines, a group of modules which greatly simplifies the creation of complex SAX application with multiple filters. This month we pick up where we left off by further illustrating how XML::SAX::Machines can be used to remove most of the drudgery of building SAX-based XML processing applications. If you have not read last month's offering, please do so now.

Type: SAX  #Views: 241  Category: Article    

Transforming XML With SAX Filters
Last month we began our exploration of more advanced SAX topics with a look at how SAX events can be generated from non-XML data. This month, we conclude the series by introducing SAX filters and their use in XML data transformation.

Type: SAX  #Views: 256  Category: Article    

Introducing XML::SAX::Machines, Part One
In recent columns we have seen that SAX provides a modular way to generate and filter XML content. For those just learning how SAX works, though, the task of hooking up to the correct parser-generator-driver and building chains of filters can be tricky. More experienced SAX users may have a clearer picture of how to proceed, but they often find that initializing complex filter chains is tedious and lends itself to lots of duplicated code.

Type: SAX  #Views: 272  Category: Article    

Using SAX for Proper XML Output
In an earlier Python and XML column I discussed ways to achieve proper XML output from Python programs. That discussion included basic considerations and techniques in generating XML output in Python code. I also introduced a couple of useful functions for helping with correct output: xml.sax.saxutils.escape from core Python 2.x and Ft.Xml.Lib.String.TranslateCdata from 4Suite.

Type: SAX  #Views: 285  Category: Article    

Writing SAX Drivers for Non-XML Data
In a previous column, we covered the basics of the Simple API for XML (SAX) and the modules that implement that interface in Perl. Over the course of the next two months we will move beyond these basic topics to look at two slightly more advanced ones: creating drivers that generate SAX events from non-XML sources and writing custom SAX filters. If you are not familiar with the way SAX works, please read High-Performance XML Parsing With SAX before proceeding.

Type: SAX  #Views: 215  Category: Article    

The SAX Model
SAX is referred to as an event-driven model or system. SAX parses an XML document and as it encounters the different parts of an element it performs different functions. The different functions performed depend on how the programmer sets up the code.

Type: SAX  #Views: 278  Category: Article    

Dynamic XML Conversion Using The SAX Parser And A Stack
This article describes an alternative way of converting XML to HTML using the SAX parser. For each tag you want to convert, you write a conversion function. This function is called with two arguments: contents and attributes. The return value of the function will replace the tag and its contents in the finished document.

Type: SAX  #Views: 400  Category: Article    

How to Develop a Customized Transformer
At the heart of Cocoon there are the different sitemap components. When you start writing your own components the component you will probably end up writing the most is a transformer. Transformers receive SAX events from a previous component in the pipeline and send SAX events to the following component. Transformers therefore allow you to directly influence and change an XML stream. Based on an example I want to show you how you can write a customized transformer.

Type: SAX  #Views: 256  Category: Article    

Take the sting out of SAX
Although SAX (the Simple API for XML) parsers are handy tools for parsing XML content, developing and maintaining a SAX parser can prove difficult. In this article, Leon Messerschmidt shows you how to use the information contained in XML Schemas to generate source code for a skeleton SAX parser. You also learn techniques to accomplish common XML parsing tasks.

Type: SAX  #Views: 295  Category: Article    

Prev Next
1 2 3

Fans of "The Office"
Dwight Bobbleheads are here!
  “It's me! I'm the bobblehead! Yes!”

Advertise on XMLPitstop

Advertise on XMLPitstop

EggHead Cafe
Web Servicee development
Buy links on this site!
remote file backup
Fendi sunglasses
Security Camera
Web Design London
Color Laser Printer
Buy links on this site!

Interested in Text ads?
2,288 Total Members
47 members(last 30 days)
17 members(last 7 days)
0 members(today)

1,631 Total Discussions
17 Posts(last 30 days)
3 Posts(last 7 days)
0 Posts(today)

20,447 Total Blog Posts
2,209 Blogs(last 30 days)
448 Blogs(last 7 days)
0 Blogs(today)

8,699 Newsgroup Posts
0 Posts(last 30 days)
0 Posts(last 7 days)
0 Posts(today)

13,806 Total Resources
20 Resources(last 30 days)
4 Resources(last 7 days)
0 Resources(today)


David Silverlight's| 2801 Florida Ave #225|Miami, FL 33133|Ph:305-447-1139