以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 XSL/XSLT/XSL-FO/CSS 』  (http://bbs.xml.org.cn/list.asp?boardid=8)
----  xslt 中包含和注释的写法!!???  (http://bbs.xml.org.cn/dispbbs.asp?boardid=8&rootid=&id=7911)


--  作者:web123web
--  发布时间:5/28/2004 11:16:00 AM

--  xslt 中包含和注释的写法!!???
<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<title>title</title>
</head>
<body leftmargin="2" topmargin="2">
<!--#include virtual="这里的包含.inc"-->
<!-- 这里的注释 -->
</body>
</html>
</xsl:stylesheet>

转为shtml后注释和包含都没有了,这是怎么回事啊?
各位大侠帮帮忙


--  作者:admin
--  发布时间:5/30/2004 11:38:00 AM

--  
改为:
<body leftmargin="2" topmargin="2">
<xsl:comment>#include virtual="这里的包含.inc"</xsl:comment>
<xsl:comment>注释的内容</xsl:comment>
</body>


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
47.852ms