[Lexicog] XML/XSL export from Toolbox with sound files

Nick Thieberger thien at UNIMELB.EDU.AU
Wed May 18 08:11:21 UTC 2011


Hi,

While the XML export from Toolbox is great, if you want to have an html
representation then I agree that lexiquepro does a very good job, and
embedding sound with HTM5 has become very easy.

My dictionary is here:
http://paradisec.org.au/SELexicon/index-english/main.htm

You can see the little bit of javascript that allows the sound to be called
and you can trigger it from an image or button or whatever you want. You
could also include this via XSLT to HTML from the Toolbox XML output I
suppose.

Nick

On 18 May 2011 05:54, pwyll4 <pwyll4 at yahoo.fr> wrote:

>
>
> Hello,
>
> I'd like to export my Toolbox dictionary in XML. There'll be soundfiles.
>
> In my XML file, I have the following :
>
> <sf>../soundfile.mp3</sf>
>
> (several times with different sound files everytime),
> and I would like that with my stylesheet, on the final web page, you see a
> small picture (in png or jpg format - always the same picture of a
> loudspeaker), and that when you click on this picture, the corresponding
> soundfile is played.
>
> What should I write in my XSL stylesheet so that it happens?
> So far I've not found the solution anywhere.
>
> Thanks in advance for your help!
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/lexicography/attachments/20110518/503595e6/attachment.htm>


More information about the Lexicography mailing list