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

Re: syntax feedback

Subject: Re: syntax feedback
From: Paul Prescod <paul@xxxxxxxxxxx>
Date: Mon, 14 Dec 1998 14:55:24 -0600
css syntax hr
Daniel Glazman wrote:
> 
> Paul Prescod wrote:
> 
> > If you need
> > transformation, then you don't really have any choice about whether to use
> > CSS or XSL and there is also no competition. CSS can't even handle a
> > simple cross-reference (nor should it be extended to! It's good at what it
> > does)
> 
>         False. 

Egad. The sentence above is true.

> You are mixing two things : CSS and other concepts
> using CSS general syntax.  We (Electricité de France) modify HTML and
> XML fragments using a transformation language based on CSS syntax. Not
> CSS, a different spec.

I'm not mixing two things. Simon was talking about CSS, not your CSS-like
language.

If you want to say: "Sure, that's true, but a CSS-like language can be
taught to do XSL-like stuff" then we would have a basis for conversation.
Naysaying true statements is not.

Yes, a CSS-like language can do transformations. Can it do it as elegantly
as XSL? Not in my opinion. I could be wrong. I'll give you a chance to
demonstrate it.

What's the statement in your language to do this:

<xsl:template match="doc">
  <HTML>
    <TITLE><xsl:value-of select="docinfo/title"></TITLE>
    <xsl:process select="docinfo">
    <H1>Contents</H1>
    <xsl:process select="table-of-contents">
    <HR/>
    <xsl:process select="div">
</xsl:template>

 Paul Prescod  - ISOGEN Consulting Engineer speaking for only himself
 http://itrc.uwaterloo.ca/~papresco

"Sports utility vehicles are gated communities on wheels" - Anon


 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.