[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Which style first ? Re: Associating DSSSL style sheets with documen
James wrote: > I don't think it's safe to assume that an entity is intended to be be used > as a style sheet for some document simply because it is declared in the > document with a style sheet notation. Suppose for example, somebody was > writing a book about DSSSL: they might declare each of their example style > sheets as being entities with the DSSSL notation. [...] This highlights a weakness, I think, present in XML; it's also present in a different way in the WWW. We don't clearly distinguish between the type of an object (e.g. its data format, as determined by NOTATION or Mime Media Type) and our intended use of it. In HTML the link context -- IMG, A, META, LINK -- determines to some extent how the "remote" resource is to be used, but if a browser followes an <A>-style link, the resulting action is determined almost entirely by the MIME media type that's discovered. I say almost, since Netscape Navigator has the target=(window/frame name) mechanism to give someattempt at control. Presumably (I admit I'm not up to date on the latest link draft!) in XML the same sort of situation applies. If so, one way to deal with it is to declare multiple NOTATIONs, one for each action you want to use. There ought to be a #DEFAULT notation for representing content negotiation -- what if a particular link might return a JPEG or GIF or PNG image or even descriptive text, but you can't in advance tell which? Sorry, a longish message for a simple point. Lee -- Liam Quin, lee@s... | lq-text freely available Unix text retrieval Senior Technical Consultant | FAQs: Metafont fonts, OPEN LOOK UI, OpenWindows SoftQuad Inc. +1 416 544-9000 | xfonttool (Unix xfontsel in XView) http://www.softquad.com/ | the barefoot programmer xml-dev: A list for W3C XML Developers Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ To unsubscribe, send to majordomo@i... the following message; unsubscribe xml-dev List coordinator, Henry Rzepa (rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|