[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
CSS instead of Namespace
- From: Dmitry Turin <dev3os@narod.ru>
- To: xml-dev@lists.xml.org
- Date: Wed, 20 Feb 2008 09:49:21 +0200
Good day,
I propose to specify namespace not only in tags themselves,
but also in CSS, what is more convenient in much cases. E.g.
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="my-style.css"?>
<document>
<m>nnn</m>
<s href="k.xml">
<t>
<a href="r.xml">Error</a>
</t>
</s>
</document>
with the following content of file 'my-style.css':
s {
namespace: xinclude;
element: include;
}
t {
namespace: xinclude;
element: fallback;
}
instead of
<?xml version="1.0" encoding="utf-8"?>
<document xmlns:i="http://www.w3.org/2001/xinclude">
<m>nnn</m>
<i:include href="k.xml" >
<i:fallback>
<a href="r.xml">Error</a>
</i:fallback>
</i:include>
</document>
P.S.
We specify much other CSS-properties inside tag
(e.g. inside open tag in HTML).
And we must look at namespace prefix in tag
in the same way.
Dmitry Turin
HTML6 (6. 5.4) http://html60.euro.ru
SQL5 (5.11.3) http://sql50.euro.ru
Unicode7 (7. 2.1) http://unicode70.euro.ru
Computer2 (2. 0.2) http://computer20.euro.ru
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]