[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Namespace: CSS in addition to prefix (was: CSSinstead of N

  • From: Robert Koberg <rob@k...>
  • To: Dmitry Turin <dev3os@n...>
  • Date: Wed, 20 Feb 2008 08:52:29 -0500

Re:  Namespace: CSS in addition to prefix (was: CSSinstead of N
What happens when the same name appears in two different namespaces?

-Rob


On Wed, 2008-02-20 at 15:45 +0200, Dmitry Turin wrote:
> 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
> 
> 
> _______________________________________________________________________
> 
> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
> to support XML implementation and development. To minimize
> spam in the archives, you must subscribe before posting.
> 
> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
> Or unsubscribe: xml-dev-unsubscribe@l...
> subscribe: xml-dev-subscribe@l...
> List archive: http://lists.xml.org/archives/xml-dev/
> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
> 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.