Subject: Flight of fantasy... From: Guy_Murphy@xxxxxxxxxx Date: Fri, 19 Feb 1999 16:57:46 +0000 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
IE5 B2 and JavaScript, Wendu Cameron | Thread | Fw: Flight of fantasy..., Oren Ben-Kiki |
Passing counter value as macro arg., Evan Easton | Date | RE: Practical XSL, regan |
Month |