[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Combining slices and divert



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:

<EN><DUMP ENGLISH><DUMP FRENCH></EN>
<FR><DUMP FRENCH><DUMP ENGLISH></FR>

<DIVERT FRENCH>
  Some text with more language tags (French text has English title anyway)
</DIVERT>
<DIVERT ENGLISH>
  Some text with more language tags
</DIVERT>

But I have an error message saying:
  ** Slice:Error: Some slices were not closed:
  ** WML:Break: Error in pass 9 (rc=1).

Well I have slices in the diverted areas and the dumps are in slices so
problems were to be expected. But is there a way to do what I want?


To other questions:
When using a #!wml ... line in the WML files, wmk rebuilds every file. Is there
a way aroud it (other than using a make file)?
Is there an easy way to build the HTML files in a different directory tree than
the WML files?
Thank you for any help.

Greetings,
Yann.

     Yann Muller        Tel: Ext: (44|0)1705 565733   Int: 255733
     Notes: Yann Muller/UK/IBM    e-mail: mullery@uk.ibm.com
     Network Management Development - AIX Solutions
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com