[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: API versioning in SAX

  • From: Peter Murray-Rust <peter@u...>
  • To: <xml-dev@i...>
  • Date: Thu, 30 Jul 1998 23:25:13

january tsai
At 17:10 30/07/98 -0500, January Tsai wrote:
>I just started leaning XML so correct me if I'm wrong here.
>
>I think it's a great idea!

You're right - it is. It takes a little while to learn everything about it
:-). 
>
>Since SAX is actually a SIMPLE API for XML,
>it helps a lot if we have some functions like:

It's important that you read the spec (REC-xml-19980210) and get the
terminology right. The basic unit of XML is an Element (not an Item) and
since Elements can contain other Elements you can't just get a String Value. 
>
>public String getValue( String ItemName, String DocumentName, ... );
>public boolean putValue( String Value, String ItemName, String Document...);

SAX is not an editor or authoring tool so you can't use it to add data.

>
>Just compare to those registry access functions,
>they are very handy.

I think you'll find that actually using SAX-based parsers is quite a good
way to get to know XML. There are now many examples and most of them have
simple test routines that will give you some idea of what is going on. Also
if you go to the 'XML Home Page' (http://www.sil.org/sgml/xml.html) you'll
find lots of good material or the FAQ (http://www.ucc.ie/xml).

	P.

[Also on XML-DEV we try to avoid copying the whole of the message to which
we are Reply-ing.]

Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.