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

Re: XSL Trans

Subject: Re: XSL Trans
From: Paul Prescod <papresco@xxxxxxxxxxxxxxxx>
Date: Mon, 28 Sep 1998 07:53:42 -0500
information on stylesheets
Daniel Glazman wrote:
> 
> Paul Prescod wrote:
> 
> > An extreme example is a stylesheet that
> > removes information. How can you edit documents that use this stylesheet
> > in a "WYSIWYG" view?  Clearly we are going to need different stylesheets
> > (and perhaps a different stylesheet *language*) for word processors.
> 
> [ A stylesheet never removes information. A stylesheet may define a null ]
> [ rendering for a given substructure. It makes a slight but important    ]
> [ difference.                                                            ]

The transformation removed information. It may not have deleted
information in the original tree, but it removed information during the
transformation. (as a conversion from GIF to JPEG removes information)
 
> 2 stylesheets ? Why not ? And so what ? Grif for instance already did that
> ten years ago ! CSS linking mechanism into HTML also offers this possibility.

The problem is not that it is hard to support two stylesheets. The problem
is that it is no longer "WYSIWYG." People will have to give up
expectations of WYSIWYG. The best they can hope for is "conveniently
rendered."

I'm curious: how powerful are the transformations that Grif allows? I
haven't yet seen a truly transformation based word processor.

> To answer your point : if stylesheet or transformation rules make unavailable for
> editing purpose a subtree, this subtree must not be edited in a wysiwyg
> environment. If author wants to provide a way to edit this subtree, *he* has to
> adapt transformations/styles according to this need. Providing two different
> stylesheets is a common answer to the problem.

Forcing word processor users to tweak transformation rules does not seem
like a good way to make XSL popular. Let's just say that if I was a word
processor vendor, I would be thinking hard about whether XSL is really
worth the effort. A non-transformational style language is probably more
appropriate for that environment and easier to implement, to boot. Perhaps
the other style language could be called "monastic XSL." In monastic XSL,
nothing would ever be removed or duplicated in the tree. Node insertions
would be allowed, but the inserted nodes would be non-editable. CSS or
FOSI would be appropriate for this purpose, but monastic XSL might be more
popular if it was a proper subset of XSL.

If I was going to provide full XSL in a word processor, I might do it in a
separate "rendered view" window.

> All MsWord users already do that : if you insert columns in a text, you have to
> switch to paginated mode to see them in wysiwyg.

In page layout view, Word provides a completely editable, completely
wysiwyg view of columns.

 Paul Prescod  - http://itrc.uwaterloo.ca/~papresco

How many of the Congresspeople who voted for the CDA do you suppose
also voted to release the report that reads like a borderline por-
nographic dime-store romance written by a Texas preacher's son?
	- Keith Dawson, TBTF 
		http://www.tbtf.com/archive/09-14-98.html
		http://www.tbtf.com/resource/hypocrites.html


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Re: XSL Trans, (continued)
      • Dave Peterson - Wed, 23 Sep 1998 21:53:57 -0400 (EDT)
      • clilley - Sun, 27 Sep 1998 12:53:25 -0400 (EDT)
        • Paul Prescod - Sun, 27 Sep 1998 23:35:50 -0400 (EDT)
        • Daniel Glazman - Mon, 28 Sep 1998 03:16:59 -0400 (EDT)
        • Paul Prescod - Mon, 28 Sep 1998 09:20:46 -0400 (EDT) <=
        • Dave Peterson - Mon, 28 Sep 1998 09:37:30 -0400 (EDT)
        • clilley - Wed, 30 Sep 1998 07:29:47 -0400 (EDT)
    • Ed Nixon - Sun, 20 Sep 1998 19:12:21 -0400 (EDT)

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
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.