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

RE: Fw: CSS and XSL

Subject: RE: Fw: CSS and XSL
From: "Borden, Jonathan" <jborden@xxxxxxxxxxxx>
Date: Mon, 15 Feb 1999 11:51:33 -0500
combine css and xsl
Simon St.Laurent wrote:
>
> On the other hand, I think it actually complicates the task of creating
> fixed styles for particular elements - there's no way (yet) to specify a
> default child element and its attributes using an XML DTD or (if
> I remember
> right) a schema.  Since different elements would need different default
> styles, this could get even more complex, and XML DTDs lack any mechanism
> (like CSS selectors) for identifying location within a tree of elements.
>

	It should be possible to combine the two approaches. A default style
attribute can be specified in an XML DTD. When a style="x" or class="x"
attribute exists, locally applied style attributes should cascade onto the
attributes specified in the DTD, thus XSL can be used to apply style on a
tree location dependent fashion, either with the use of css:chunk or using
predefined styles in a external css sheet.


Jonathan Borden
http://jabr.ne.mediaone.net


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


Current Thread

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.