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

Re: Associating DSSSL style sheets with documents

  • From: "Eve L. Maler" <elm@a...>
  • To: Len Bullard <cbullard@h...>
  • Date: Fri, 14 Mar 1997 17:34:50 -0500

associating links with documents
At 02:53 PM 3/14/97 -0600, Len Bullard wrote:
>Eve L. Maler wrote:
>> 
>> 
>> The difference is that, by convention, you're making PI markup available
>> that's available to every document and to every *location* in a document if
>> necessary, no matter what its DTD (and no matter whether it even has one).
>> It just happens to look suspiciously like a start-tag, which may be helpful
>> to any software that has to parse the PI string.
>
>By convention? You mean, by application.   

I'm not sure I catch your distinction.  If we agree on a meaning and a
syntax for it, we've made a convention.  (Like when everyone asks "How are
you?" and expects a short, positive answer. :-)  Applications can now
predictably act on the usage of the convention.  (Like when someone starts
to walk away after a moment, safe -- usually! -- in the assumption that the
other person just answered "I'm fine.")

>An inclusion on root makes an empty element available 
>to every location.  A PI is something every document has to have.    
>That isn't an improvement.  If you use a DOCTYPE and know the DTD,
>don't  
>you get the same effect?  XML goes out it's way to load up an 
>instance just to get around a DTD.  I question the utility of that.
>We tell them they are being freed of fixed markup, then add a 
>question mark and say, oh, that's OK, that's XML.

But XML doesn't have inclusions, and any one document may not even have
DTDs.  So your "ifs" sometimes don't come true.  I agree that we don't want
to push legitimate DTD functions into PIs, which give you a lot less
validation power. But processing instructions (in the regular English
sense) don't belong in the normal markup scheme most of the time.

>> I don't think links in general should be done this way, but I do believe in
>> PIs being used for, uh, instructions to processors.  
>
>Ummm... sure.  Sort of what links are.

Well, a reference to a stylesheet is surely a link, but not all links are
references to stylesheets.  Also, not all processing instructions are links
to something.  Do you think PIs are never appropriate?

>> (In other words, I'm
>> not 100% against PIs, as some people are.)  In particular, I'm starting to
>> get very fond of PIs for anything that has to be specified per entity.
>
>No doubt.
>
>len

        Eve

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!

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.