Self-closing script tags and XHTML

Here's what I learned implementing the tagging script in the DITA-OT build. In order to preserve the <script ....></script> syntax you have to put something, but a no-op, between the tags:  

 <script ....> </script>

It remains to be seen whether the script will run and collect page load data. It should, but...if I had a dime for every time I'd said/heard that...

<script> </script> works.

 

http://www.linkedin.com/in/juliapond

XML.org Focus Areas: BPEL | DITA | ebXML | IDtrust | OpenDocument | SAML | UBL | UDDI
OASIS sites: OASIS | Cover Pages | XML.org | AMQP | CGM Open | eGov | Emergency | IDtrust | LegalXML | Open CSA | OSLC | WS-I