i'm using an xslt file to output an html file from an xml file. the output html file needs to include a link to a javascript file. to that end, the xslt file includes...
my problem is that the actual output concerning the script link in the html file gets collapsed to...
which apparently is invalid because the entire html page will fail to display. i have to manually edit the html and change it back to <script></script> instead of <script />. how do i get the xslt file to faithfully output what i want?
thanks,
glenn
Code:
<xsl:output method="html" encoding="utf-16"/>
<xsl:template match="/">
<html>
<head>
<script type="text/javascript" src="QTPFrameworkDocCode.js"></script>
</head>
my problem is that the actual output concerning the script link in the html file gets collapsed to...
Code:
<script type="text/javascript" src="QTPFrameworkDocCode.js" />
which apparently is invalid because the entire html page will fail to display. i have to manually edit the html and change it back to <script></script> instead of <script />. how do i get the xslt file to faithfully output what i want?
thanks,
glenn