L
Lauri Raittila
I have been planning about making a preprosessor that wouldn't require
two sets of files, but would alter one. (haven't seen one anywhere yet)
So I have been thinking about how to include file. It would be easy¹ to
make include to work so that when there is class="//foo.bar" on some
element, it's contents would be replaced by file foo.bar². If I
understood HTML4 spec correctly, there is no limitatin on what chars to
use in class name.
Should I expect some problems on some browser when using classes with non
alphanumric chars? Does it make difference on what chars to use?
Test URI:
http://www.student.oulu.fi/~laurirai/test/class.html
Works on Opera 7.21RC3, Mozilla 1.0 and IE5.5 as well as Elinks 0.3.2 and
Lynx 2.8.5dev.7
[1] In fact I already made perl script for that. (On my first day using
perl - nice language indeed)
[2] and class="//..foo/bar.baz" to open file from that path, later.
two sets of files, but would alter one. (haven't seen one anywhere yet)
So I have been thinking about how to include file. It would be easy¹ to
make include to work so that when there is class="//foo.bar" on some
element, it's contents would be replaced by file foo.bar². If I
understood HTML4 spec correctly, there is no limitatin on what chars to
use in class name.
Should I expect some problems on some browser when using classes with non
alphanumric chars? Does it make difference on what chars to use?
Test URI:
http://www.student.oulu.fi/~laurirai/test/class.html
Works on Opera 7.21RC3, Mozilla 1.0 and IE5.5 as well as Elinks 0.3.2 and
Lynx 2.8.5dev.7
[1] In fact I already made perl script for that. (On my first day using
perl - nice language indeed)
[2] and class="//..foo/bar.baz" to open file from that path, later.