[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
slice-problem
- From: Gerfried Fuchs <nospam@thanx>
- Date: Tue, 23 Nov 1999 11:15:44 +0100
Hi!
I have a little problem with the slice-pass. Though I've never used it
before I'm very happy that it is there now - especially it's quite
useful for frame-based pages ;-)
Anyway, the problem that happens is that slice is done after strip.
Shouldn't be any problem, but - if you have something like:
---------------------------
<body>
[EN:Hello!:]
[DE:Hallo!:]
</body>
---------------------------
... you will be getting:
---------------------------
<body>
Hallo!
</body>
---------------------------
and
---------------------------
<body>
Hello!>
</body>
---------------------------
That is quite annoying - especially if I'm doing this different
frame-src with one file, where I have:
---------------------------
[FS:
<html>
...
</html>:]
[NAV:
<html>
...
</html>:]
[MAIN:
<html>
...
</html>:]
---------------------------
I'm ending up with several empty lines at the beginning and/or the end
of the different files. And that's quite annoying... For I'm not quite
sure about what the W3C thinks of the "first line" for the
DOCTYPE-declaration, e.g.
Anyway - I found a workaround which is not really what I want:
---------------------------
[FS:<html>
...
</html>:][NAV:<html>
...
</html>:][MAIN:<html>
...
</html>:]
---------------------------
For this makes the code quite unreadable.... Is it maybe possible that
slice doesn't insert extra newline at the start and the end of the
slice? So I could at least use:
---------------------------
[FS:
<html>
...
</html>
:][NAV:
<html>
...
</html>
:][MAIN:
<html>
...
</html>
:]
---------------------------
And get no empty lines at all...
I hope that my request isn't too hard to realise - and I hope that I'm
not the only one bugged by that ;-)
So long!
Alfie
--
(1) Everything depends.
(2) Nothing is always.
(3) Everything is sometimes.
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com