[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Combining slices and divert
- From: Yann Muller <nospam@thanx>
- Date: Fri, 15 Jan 1999 12:18:44 +0000
Hi Denis,
I tried it again and it really doesn't work because each divert block contains
some
<EN> and <FR> tags. Then some nested slices are generated and wml_p9_slice
gets confused.
So I think I need to use a different name for the slices to order the
divertions. Something
like:
[PART_EN:
<DUMP ENGLISH><DUMP FRENCH>
:PART_EN]
[PART_FR:
<DUMP FRENCH><DUMP ENGLISH>
:PART_FR]
But I can't figure out what the slice term to give to WML should be.
#!wml -o (ALL-LANG_*) ? PART_FR ? LANG_FR:%BASE.fr.html \
-o (ALL-LANG_*) ? PART_EN ? LANG_EN:%BASE.en.html
I don't know what to put in place of the '?'.
owner-sw-wml@engelschall.com on 01/14/99 06:20:26 PM
Please respond to sw-wml@engelschall.com
To: sw-wml@engelschall.com
cc:
Subject: Re: Combining slices and divert
On Thu, 14 Jan 1999, Yann Muller wrote:
> Hi,
>
> I have almost finished converting my old site to use WML but I have a few
> questions to be able to finish it.
> My site is both in French and in English but some pages contain both French
> and English. So I'd like to have the French part at the top of the French page
> and the English part first in the English page. Makes sense?
> I tried to do it this way:
[...]
Works for me with wml-1.6.8.
I try your example, with this preamble:
#!wml -o (ALL-LANG_*)+LANG_FR:%BASE.fr.html \
-o (ALL-LANG_*)+LANG_EN:%BASE.en.html
#use wml::std::lang
<lang:new id=en short>
<lang:new id=fr short>
--
D. Barbier
http://imacs.polytechnique.fr
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com