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

slices inside slices?



I played a bit with wml tonight a bit. I want to incrementally convert
my webpages to multi-language ones.

I wanted to use <lang:star:href> to make the links 'automatically' pick
up when other pages got translated, too.

But, slices don't work when nested inside themselfes.

| btl:~>echo '
| #use wml::std::lang
| <lang:new id=de short>
| <lang:new id=en short>
| 
| Referenziere: <lang:star:href: index.*.html|index.html>
| 
| </lang:area>
| '|wml -o '(ALL-LANG_*)uLANG_DE:-'    

gives

| Referenziere:index.html

That works fine.

Now, if I want to use this in a ultilanguage -page:

| btl:~>echo '
| #use wml::std::lang
| <lang:new id=de short>
| <lang:new id=en short>
| <lang:area> 
| 
| (de) Referenziere: <lang:star:href: index.*.html|index.html>
| (en) Referencing : <lang:star:href: index.*.html|index.html>
| (/)
| 
| </lang:area>
| '|wml -o '(ALL-LANG_*)uLANG_DE:-'

gives: 

** Slice:Error: Some slices were not closed:
** WML:Break: Error in Pass 9 (rc=1).

What can I do here ?

CU,
    Sec
-- 
  1. Never challenge a sysadmin to do anything you don't actually want
  him or her to do.
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com