Hi,

"R. Mark Volkmann" <volkmann2 / home.com> wrote:
> I have Sablot installed and can run it successfully from the command line.
> However, I can't get it to work from Ruby.

Did you install Ruby's Sablot module?  No error occured at that time?

> When I try "ruby sample.rb sample.xsl sample.xml" it fails on the first line
> "require 'sablot'".

If you see error message such as "in `require': No such file to load
 -- sablot (LoadError)", sablot module may be installed in illigal
directory. If so, you can add option of library path as

 % ruby -I <library dir> sample.rb sample.xml sample.xsl

But I don't use Windows 2000(You use Ruby on win2k, right?), and
I don't know about how to make Ruby's extension library for Windows.
Sorry.


BTW, I've not used Sablotron 0.50 yet, because my developing
plathome is FreeBSD and FreeBSD has no wc/mb function(Sablotron 0.50
uses wcsxfrm() to support <xsl:sort> element). sigh...

TAKAHASHI Masayoshi (maki / inac.co.jp)