当我试图查看我的xml树时,我得到了这个错误
"此页面包含以下错误:
第5行第1列出现错误:文档为空"
这是我的xsl到第5行:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<?xml-stylesheet type="text/xsl" href="books.xsl"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="books">
<html>
<head>
链接:http://infd.birdnest.org/~grangere2/CSI441/books.xsl
您是否正确地将xsl应用于xml?例如,使用我发现的一个随机XML文档,它将与xsl:一起使用
萨克森http://tinyurl.com/a5bcf42http://infd.birdnest.org/~grangere2/CSI441/books.xsl
或
xsltprochttp://infd.birdnest.org/~grangere2/CSI441/books.xslhttp://tinyurl.com/a5bcf42