From: Ilya Konstantinov (linux-il_at_nonexisting.hamakor.org.il)
Date: Sat 26 Apr 2003 - 17:12:03 IDT
On Wednesday 23 April 2003 21:20, Shlomi Fish wrote:
> Now, the translated terms and the definition are in Hebrew, yet the
> original term and the XML tags themselves are Latin. Can anyone give me
> some pointers on how to:
>
> 1. Effectively edit such a file in Linux?
kxmleditor, KDE's XML editor, will let you edit Hebrew attributes and texts
easily, with Qt's builtin BiDi support.
Maybe Eclipse (the IDE supported by IBM) can do it as well: AFAIK it uses GTK+
2.0 on Windows, which is BiDi-enabled as well.
> 2. Process it using Perl? (I suppose I can RTFM...)
Perl offers two modules: XML::XSLT (pure Perl implementation of XSLT) and
XML::LibXSLT (uses the C libxslt library).
Then again, remember you can always leave processing up to browsers: IE will
transform your XML with MS-XML's engine, Mozilla will transform your XML with
its Transformiix engine. Konqueror, however, doesn't support XSLT.
To have an XML instruct browsers to use a certain XSLT, use this processing
instruction:
<?xml-stylesheet type="text/xml" href="foobar.xsl"?>
=================================================================
To unsubscribe, send mail to linux-il-request_at_linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Mon 06 Oct 2003 - 23:44:27 IST