[
Lists Home |
Date Index |
Thread Index
]
- From: TAKAHASHI Masayoshi <maki@inac.co.jp>
- To: xml-dev@ic.ac.uk
- Date: Mon, 17 Aug 1998 17:55:56 +0900
XML Parser Module for Ruby
==========================
XML Parser Module for Ruby (by YOSHIDA Masato) version 0.3.3
is released.
What's this
-----------
"XML Parser Module for Ruby" is a Ruby module to use expat,
XML Parser toolkit made by James Clark
(http://www.jclark.com/xml/expat.html).
Expat's version that this module supported is 1.0.
What's Ruby
-----------
Ruby is the interpreted scripting language for quick and
easy object-oriented programming. It has many features to
process text files and to do system management tasks (as
in perl). It is simple, straight-forward, and extensible.
APIs
----
This module provides XMLParser Class for Ruby.
There are two kinds of interfaces, event handler and iterator.
Event handler is like SAX(Simple API for XML). You can define
your original classes inherited XMLParser class, and define
event handler methods.
Iterator is 'rubyish' method. If you want to know iterator in
Ruby, please see Ruby's manual and/or Ruby's Users' Guide.
Sample Libraries
----------------
This module has sample libraries.
* XML::SimpleTree
library for making and accessing XML tree with API like
W3C DOM.
* XML::SimpleTreeBuilder
library for parsing XML document and building tree.
Encodings
---------
This module can handle UTF-8 and UTF-16. But with Uconv
module (and Kconv module), You can use EUC-JP, Shift_JIS
and ISO-2022-JP.
Uconv module is another ruby extentional module by Yoshida.
It converts UTF-8 and UCS-2 into EUC-JP, and EUC-JP into UTF-8
or UCS-2.
Kconv module is Ruby's standard extension. It can handle
Shift_JIS, EUC-JP, and ISO-2022-JP.
Documents
---------
XML Parser Module (and Uconv Module) have README file.
URLs
----
* XML Parser Module (and Uconv Module) for Ruby
http://www.bekkoame.ne.jp/~yoshidam/Ruby.html (in Japanese)
* Docuemnt
http://www.bekkoame.ne.jp/~yoshidam/xmlparser_en.txt
* Ruby Homepage
http://www.netlab.co.jp/ruby/
http://www.netlab.co.jp/ruby/jp/ (in Japanese)
* A Invitaton to ruby
http://www.math.sci.hokudai.ac.jp/~gotoken/ruby/
* Ruby's Users' Guide
http://pauli.math.sci.hokudai.ac.jp/~gotoken/ruby-uguide/
* Expat
http://www.jclark.com/xml/expat.html
TAKAHASHI Masayoshi (maki@inac.co.jp)
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|