我把我的代碼放在XML驗(yàn)證網(wǎng)站上,它給了我這個(gè)錯(cuò)誤:第8:4行根元素后面的文檔中的標(biāo)記必須是格式良好的。有問題的行是<xsl:output method = "html" doctype-system = "about:legacy-compat"/>、線。XML<?xml version="1.0"?><!-- Fig. 15.21: sorting.xsl --><xsl:stylesheet version = "1.0"xmlns:xsl="
<!-- write XML declaration and DOCTYPE DTD information -->*<xsl:output method = "html" doctype-system = "about:legacy-compat" />*
<!-- match document root -->
<xsl:template match="/"> -<html> <xsl:apply-templates/> </html>
</xsl:template>
3 回答

米脂
TA貢獻(xiàn)1836條經(jīng)驗(yàn) 獲得超3個(gè)贊
添加回答
舉報(bào)
0/150
提交
取消