Re: document.write error in Javascript executed on HTML output by XSLT
Emmanouil Batsis <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Hi Steve, Steven Bethard wrote: > I get the following error when calling document.write from Javascript I havent found any use for document.write since the day i first wrote javascript in 98. It's considered harmfull, besides you are working with XML so why not use the DOM? > <script src="../ucsu.js"/> You can make sure (X)HTML tags are output correctly (i.e. non empty) either by using the HTML output method in your stylesheet, or by placing a <xsl:text> </xsl:text> in those tags. hth, Manos