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

Question about <subject>




Hi again,

I have a question about the use of the <subject> tag. 

I'm using wml to build multi-language versions (currently German and
English) of my web pages, which works great, apart from one effect that I
don't understand.

I would start off a file like this:

[...]                   
#include "template.wml"

<d: 
<subject "Über uns">
<headline>So erreichen Sie uns</headline>
>
<e: 
<subject "About us">
<headline>Contact information</headline>
>
[...]

The subject tag is then used in template.wml in a pretty standard way:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html> 
<head> 
<title><<SUBJECT_LOC>></title>
</head>
<body>
[...]

# way to insert the subject 
<define-tag subject> 
..SUBJECT_LOC>>%0<<..
</define-tag> 

# per default we are in body 
..BODY>>



The strange result is that the <title> of both resulting html files is in
*both* cases:

<title>Über unsAbout us</title>

(i.e. both <subject> tag values make it into the <title> tag) 

All the other aspects of the language-specific html creation are perfectly
o.k.

Is this a bug, a feature, or a side-effect? :-)

All the best,
Stephan

--
Stephan Petersen                           sp@gtt.lth.rwth-aachen.de

>-=-=-=- Visit GTT's Technical Thermochemistry Web Page at =-=-=-=-<
>-=-=-=-      http://gttserv.lth.rwth-aachen.de/gtt/       =-=-=-=-<

______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com