XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Namespace: CSS in addition to prefix (was: CSS instead of Namespace)

Manos,

>> I propose to specify namespace not only in tags themselves,
>> but also in CSS, what is more convenient in much cases.

First, let it will be
"Namespace: CSS in addition to prefix".

MB> CSS namespace awareness is crucial for proper styling of XML documents.
MB> MB> [1] http://www.w3.org/TR/css3-namespace/

Styling will be applied after resolving namespace:
either when

s {
  namespace: xinclude;
  element:   include;
}
t {
  namespace: xinclude;
  element:   fallback;
}

is in css-file, or when that is in separate ns-file, i.e.

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet    type="text/ns"  href="my-namespaces.ns"?>

---

MB> Does not look right. This will hide namespace information from the XML
MB> parser

If parser does not want to read it. Certainly.

MB> unless it is able to parse CSS as well.

How long ago parsers was not capable to interpret namespace prefix ?
But community forced it to parse.
It's the same with additional file.

I.e. gold is to separate secondary information from primary content!



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]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS