[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
[wml] CSS support and XML namespaces
- From: Denis Barbier <nospam@thanx>
- Date: Sat, 24 Jun 2000 00:00:13 +0200
Hi people,
these two issues are interesting and need some focus.
First, WML must improve its CSS support. As a macro-processor, it is up
to end user to define his templates so that they provide some CSS support
when needed. Unfortunately, some modules are shipped with WML and so i
also have to take care of that.
There are basically 2 solutions:
a) add optional attributes in all defined tags
or
b) add special tags in all HTML tags, e.g.
<css:class tag=a text=" class=menu">
...
<a href="http://domain.com/"<css:print tag=a>>Click here</a>
...
</css:class>
In this example, we can imagine than <css:print> expands to a null
string except inside <css:class>...</css:class>, where it expands
to the value of the `text' attribute.
I do not know whether this syntax is efficient.
Second, after reading http://www.w3.org/TR/REC-xml-names/ i still do not
undertand what XML namespaces are for. Could a XML user explain if this
notion is valuable for us?
--
Denis Barbier
WML Maintainer
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com