× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



At 15:05 08/29/2001, Tony Pack wrote:
>Has anyone had any experience using the SAX parser from the Alphaworks site?
>In particular, I need to know if the usage is bi-directional, able to parse
>both ways, or inbound only.  Please advise....

No experience with SAX at all, but if you are asking if you can write XML
with the parser, I believe the answer would be no. There wouldn't be much
point, because it's very easy to construct an XML datastream. You could
probably produce and serialize a DOM document, but you'd still need to know
the structure of the schema or dtd, and it would be significantly more
difficult and resource intensive than just writing the XML yourself. IOW,
it wouldn't help much unless there were other reasons for using DOM. SAX,
as I understand it, allows you to execute your own subroutines in response
to the occurrence of tags in an XML input datastream, which is definitely
worth while. You don't have to interpret the tags, but your program, which
uses the SAX API is generally hard wired for a specific schema/dtd.


Pete Hall
pbhall@execpc.com
http://www.execpc.com/~pbhall/



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.