[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Understanding why <tag></tag> is the way it is (wa
David Carlisle wrote:
Isn't this part of the HTML spec? I realize that its a bit silly that not using a closing script element breaks the page I should not mention HTML when I mean XHTML, sorry for the confusion. This is rather interesting, because in XHTML <script> has become a PCDATA element. Which means, IIRC, that < and & should be escaped. Which is why in XHTML it is recommended to put the data of a script tag into a <[CDATA[ section, so you don't have to worry too much about all these escaping. In XSLT you can do this by setting the xsl:output attribute of cdata-section-elements to "script". Cheers, -- Abel Braaksma
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|