XSL 问题请教, 谢谢!

来源: 2004-04-12 05:27:15 [旧帖] [给我悄悄话] 本文已被阅读:
我有个 XML 文件, 内容包括像:

http://www.w3schools.com/xsl/cdcatalog.xml

但如果这 XML 文件没有 Record, 像,






我想写 "No record found". 有用 XSL 写的办法么?

我可以用 Jsp or java 写出 "No record found" faking xml data, 但是请问有没有直接用 xsl 写出 “No record found” 的? 我查了, xsl:when, xsl:otherwise 和我的情况不符合。

谢谢