【发布时间】:2015-09-11 02:57:28
【问题描述】:
我想使用XslCompiledTransform 使用 xsl 转换 xml。但是我发现脚本块输出为<script src="..."/> 而不是<script src="..." ></script>,如何使它正确?
即使我的 xsl 文件如下:
<html>
<head>
<title>Hello iCore Project</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css"/>
<script src="http://code.jquery.com/jquery-1.8.3.min.js" ></script>
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
</head>
<body>
...
【问题讨论】: