lisa pease, xml%%%lisa pease - Re: XML + (XSL

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

Re: XML + (XSL | CSS) ?

Subject: Re: XML + (XSL | CSS) ?
From: "Lisa Pease" <lisap@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 May 1998 10:07:55 -0700
lisa pease
-----Original Message-----
From: Daniel Glazman <Daniel.Glazman@xxxxxxxxxx>
To: xsl-list@xxxxxxxxxxxxxxxx <xsl-list@xxxxxxxxxxxxxxxx>
Date: Thursday, May 14, 1998 9:51 AM
Subject: Re: XML + (XSL | CSS) ?


>Lisa Pease wrote:
>
>> XSL allows me to do all kinds of things I could never do in CSS. Let's
take
>> a very simple example. Imagine I have a book catalog with 1000s of books
in
>> it. Each has this form in XML:
>>
>> <BOOK>
>> <TITLE>...</TITLE>
>> <AUTHOR>...</AUTHOR>
>> <CATEGORY>...</CATEGORY>
>> <ISBN>...</ISBN>... and so forth.
>>
>> Imagine now that I want to print it out in this form:
>>
>> Title:  [title]
>> Author: [author]
>> ISBN: [isbn]
>>
>> etc.
>>
>> Using XSL, I can put the text directly into the style sheet once, and
have
>> it repeat 1000 times for each book listing. In addition, I can select out
>> only those portions which I am using for that list.
>>
>> Now imagine being able to add script to a style within the style
definition
>> itself. You can do that in XSL. You can't in CSS.
>
>Oh yes you can :
>
> BOOK:before { content : "Title: " }
>
>Section 12.1 of CSS 2.
>
></Daniel>
>
>

Well you got me there! ;-) But does CSS2 provide any selection mechanism, or
the native inclusion of script actions within a style? Not now, as of yet.




 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.