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

pwyll4 pwyll4 at YAHOO.FR
Wed May 18 09:39:28 UTC 2011


Hi,

Thanks for your answers. Unfortunately, Lexique Pro is too rigid for me, especially concerning the final layout (I don't want to change everything "by hand" in the final html and paper versions), that's why I prefer Toolbox, that allows me to do whatever I want.

Now, Nick, I didn't find the javascript you mentioned, I couldn't find sound files in your dictionary... Where is it?
I just need to find one or two lines of XSL code so that clicking on my icons plays the corresponding soundfiles... so far I could't find it on google.

Thanks

L.



--- In lexicographylist at yahoogroups.com, Nick Thieberger <thien at ...> wrote:
>
> 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 ...> 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!
> >
> >  
> >
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/lexicographylist/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/lexicographylist/join
    (Yahoo! ID required)

<*> To change settings via email:
    lexicographylist-digest at yahoogroups.com 
    lexicographylist-fullfeatured at yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    lexicographylist-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/



More information about the Lexicography mailing list