W3C home > Mailing lists > Public > xsl-editors@w3.org > July to September 1998

Java Script, and it's conflicts with 2.4.4

From: Andrew Bunner <bunner@massquantities.com>
Date: Mon, 07 Sep 1998 20:50:55 -0700
Message-Id: <199809080344.UAA05520@mail-gw.pacbell.net>
To: xsl-editors@w3.org

  The XSL Working Draft seems to make it impossible to generate an HTML
file with embedded Java Script.

  "Impossible" might be too strong a word, but I can't find any method to
get the literal character '<' into my generated file. So, if you're
interested in doing Java Script comparisons, you seem to be limited to
equality and inequality.

  I can only see three reasons for this...

1) I've missed something and there is a way to do it, but it's not obvious
2) The XSL Working Group made a gross oversight
3) There's some extremely good reason for this design decision, but it's
not obvious

  If we're looking at case two, then I'd like to suggest a revision to
section 2.4.4. Since we already have a way to generate &lt; I think we
ought to make <![CDATA[<]]> put the literal character '<' in the generated
file.

  If we're looking at case three, then I'd like say that, IMHO, the
well-formedness of the generated document is not so important that we
should prohibit the author from putting in characters that need to be there.

-- Andrew

   Andrew Bunner
   President, Founder Mass Quantities, Inc.
   Professional Supplements for the Perfect Physique
   http://www.massquantities.com 
Received on Monday, 7 September 1998 23:44:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:49 GMT