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

Re: Associating DSSSL style sheets with documents

  • From: James Clark <jjc@j...>
  • To: xml-dev@i...
  • Date: Sat, 15 Mar 1997 15:40:50 +0700

name or token style
At 13:10 14/03/97 -0500, Eve L. Maler wrote:
>At 10:57 AM 3/11/97 +0700, James Clark wrote:
>>At 12:24 10/03/97 EST, lee@s... wrote:
>>>Of course, it'd have to be
>>><?XML-STYLE ....?>
>>>for XML, no?
>>
>>Well, this is something that is applicable to SGML in general not just to
>>XML. Since <?xml-stylesheet is no more reserved than <?stylesheet in SGML, I
>>would rather use simply <?stylesheet for SGML.  A general-purpose SGML
>>browser should probably make the keyword user configurable.
>
>This is interesting: Should an XML effort determine a PI that should be
>usable in general by SGML documents? 

I wasn't proposing that *XML* define such a PI.  All I was just suggesting
was that people who have DSSSL engines implement it (preferably making the
name of the PI configurable).

>I tend to think that the "authority"
>that invents/maintains the format of the PI should be identified, and "XML"
>sort of fits the bill, similarly to <?SO.  We did say that the first name
>token in a PI functions as a sort of notation.  It would be weird for an
>XML spec to specify <?stylesheet .
>
>I've also been beating the drum on the WG list about how our PIs should
>have "GIs" as well as "attribute specs," so I'd prefer to see <?XML
>stylesheet att1="val1" att2="val2"... ?>.  This way, "<?XML" targets the PI
>so that it will be processed by an XML-aware processor, and the rest
>identifies the semantics of the instruction.

I disagree.  XML requires that all PIs start with a name, and says that this
name is normally the name of a declared notation.  So I think PIs should
look like

<?name att1="val1" att2="val2" ...?>

(Note that the currently-defined XML PI fits this pattern not the one you
suggest.)  The authority should come from the public identifier on the
notation declaration for name.  Since XML reserves all names beginning with
XML-, I would think that an XML-defined PI should look like:

<?XML-stylesheet type="text/dsssl" href="foo.dsl"?>

James





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.