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

Flight of fantasy...

Subject: Flight of fantasy...
From: Guy_Murphy@xxxxxxxxxx
Date: Fri, 19 Feb 1999 16:57:46 +0000
flight of fantasy
Hi.

Writing up a paper describing why XML/XSL might be a "good thing" for
intranet development, so I'm getting into the usual trying to get the
reader to grok XML, and I started thinking about the discussion held
recently on the list about CSS and XML, and then on top of this my mind
cast back to some TCL script I was looking at last night (my mind really
wanders when I'm bored)... and I thought how it all might have been
different.....

If we hadn't have had those sharp little brackets with SGML, but more
traditional expression of containment, we might have wound up with...

html {
     head {
          script {type: text/JavaScript} {
               function init {} {
                    ...
               }
          }

          style {type: text/css} {
               body {
                    color: white;
                    background-color: black;
               }
          }
     }
     body {onLoad: [init]} {
          h1 {A Flight Of Fantasy}
          p {Some text...}
     }
}

...if mark-up had of gone this way XSL might look like...

xsl:template {document title} {
     h1 {
          [xsl:value-of]
     }
}

What can I say, I'm a fan of curly braces...

Sorry, all wildly off topic, and of no practical purpose, just hit the
delete button and put it down to end of the week stress :)

Have a nice week-end.

Cheers
     Guy



 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.