[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

  • From: James Clark <jjc@j...>
  • To: xml-dev@i...
  • Date: Thu, 06 Mar 1997 19:27:48 +0700

Re: Which style first ? Re:  Associating DSSSL style sheets with documen
At 08:37 06/03/97 -0800, Norbert H. Mikula wrote:

>DSSSL supports the definition of multiple style-sheets in
>one style-document. I do believe that this is a very important
>feature and we need to discuss how to employ it to the fullest.
>
>If I remember correctly, Jade picks out the first it found,
>and, I have to admit I don't have the latest Jade version
>installed, doesn't do anything with the others.

Actually if you use -d style.dsl#hardcopy, it will use the spec called
hardcopy in the style.dsl document. (I forgot to mention this in the docs.)

>My DSSSL engine, YADE, reads all the specs. and then picks
>out the first one that is has read and does the first
>rendering with it. All the other styles are put in a 
>list which the user, via a menu, can choose from. 
>
>I see the following problem. I am working on a DSSSL document
>that has one style for hardcopy and a variety of styles for
>online rendering. How are we going to tell the DSSSL engine
>what style to start with. 

Where the content provider knows which style they want, they can use a
fragment spec in the URL to pick out a particular spec from the document.

>The document/style author does not know what kind of DSSSL engine
>is going to work with his document. Thus the stylespec. itself
>must provide means to communicate to the DSSSL engine
>what kind of DSSSL engine i.e. online, hardcopy etc. a style
>is suitable for.
>
>Any ideas ?
>
>What about adding an attribute with a list of catagories
>of DSSSL engines as possible attribute values.
>
>For instance : output (hardcopy|online|....?) hardcopy

What other categories are there?  If a style sheet is for online use, then
it has to use the scroll flow object, which means it ought to list the
online feature in the features element type form.  Maybe a DSSSL engine
could use this, or maybe it could look to see which flow object classes the
spec uses.

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.