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

Re: Simple approaches to XML implementation

  • From: "Peter S. Housel" <housel@m...>
  • To: <xml-dev@i...>
  • Date: Wed, 5 Mar 1997 00:05:30 +0800

sgml api
Here's what I'm looking for in an XML/SGML API.

First I want an entry point that allows the application to query
the parser implementation what property set modules it supports
(i.e., what's the richest grove plan available to users), and whether
or not validation is available.

Next, there should be an XMLEventStream object.  To create an
XMLEventStream, you specify:

1. The URL of the document to open.
2. The grove plan you want, in the form of a list of property set modules.
3. Whether or not you want validation done.

This gives a stream-based interface to the XML document.  By default, the
grove plan would be {baseabs, prlgabs0, instabs}, which gives you a stream
of XMLEvent objecs that corresponds almost exactly to ESIS.

If you ask for more modules than that, XMLEventStream will give you a
richer
set of objects, a stream including such things as the contents of the DTD,
comments,
or whatever you like.

As a layer above that, there should be a grove-based interface that takes
the
stream and turns it into a grove.  Once built, the grove can be examined
using
an interface similar to SDQL.  As someone has already noted, there should
be concrete subclasses of the Node class, but the property-getting
interface should
work whether the property is stored in a list of properties or in a special
instance
slot.

I'm very fond of the idea of mapping documents of various MIME types onto
XML documents.
The translator could work as an XMLEventStream, making the grove-building
machinery
common to all document types.

Still higher application-specific layers could be built easily.

Am I way off base here?  I know this is the kind of interface that would
make
me happy...

-Peter S. Housel- housel@m...


xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo@i... the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (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.