Java Script, and it's conflicts with 2.4.4

Andrew Bunner (bunner@massquantities.com)
Mon, 07 Sep 1998 21:05:17 -0700


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