[Home] [By Thread] [By Date] [Recent Entries]

  • From: Andrew Bunner <bunner@m...>
  • To: xml-dev@i...
  • Date: 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 

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member