Community-Credit.com | NonProfitWays.com | SOAPitstop.com   Skin:   
      User: Not logged in 
Home
Newsletter Signup
XSLT Library
Latest XML Blogs
Featured Examples
Presentations
Featured Articles
Book Chapters
Training Courses
Events
NewsGroups
 
Discussions
Examples
Tutorials
Tools
Articles
Resources
Websites
 
Sign In
My Profile
My Articles
My Examples
My Favorites
My Resources
Add a Resource
Logout
 
About Me
My Blog
HeadGeek Articles
Talking Portfolio
Resume
Pictures
World Trip Pics


Articles

 ADO.NET (208)  Pattern (3)  WebDAV (17)  XMLHTTP (3)
 Database (35)  RDF (28)  WebService (230)  XMPP (9)
 Debugging (29)  RSS (29)  WML (95)  XPath (78)
 DIME (14)  SAX (56)  WSDL (80)  XPointer (12)
 DOM (56)  Schema (47)  XAML (5)  XQL (24)
 DTD (23)  SMIL (38)  XBRL (64)  XQuery (72)
 ebXML (56)  SOA (9)  XForms (92)  XSchema (30)
 Flash (12)  SOAP (136)  XHTML (112)  XSL (423)
 Humor (1)  SQL (16)  XLL (1)  XSL-FO (29)
 Java (77)  SQLXML (142)  XML (780)  XSQL (6)
 MathML (11)  SVG (56)  XML.NET (86)  XUL (13)
 Oracle (29)  VoiceXML (82)  XMLA (2)

Total Articles: 3,456

 


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: 2109  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: 2129  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: 2123  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: 3191  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: 2775  Category: Article    

Introduction to SAX Path and Jaxen
The W3C (http://w3c.org/) 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: 2107  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: 1882  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: 964  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: 962  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: 947  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: 930  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: 858  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: 841  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: 819  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: 920  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: 790  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: 921  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: 1028  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: 911  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: 947  Category: Article    

Prev Next
1 2 3


Advertise on XMLPitstop


4,697 Total Members
0 members(last 30 days)
0 members(last 7 days)
0 members(today)

2,003 Total Discussions
1 Posts(last 30 days)
0 Posts(last 7 days)
0 Posts(today)

47,487 Total Blog Posts
0 Blogs(last 30 days)
0 Blogs(last 7 days)
0 Blogs(today)

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

14,416 Total Resources
3 Resources(last 30 days)
1 Resources(last 7 days)
0 Resources(today)


 

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