|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






