XSL 问题请教, 谢谢!

来源: iceox 2004-04-12 05:27:15 [] [旧帖] [给我悄悄话] 本文已被阅读: 次 (480 bytes)
我有个 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 和我的情况不符合。

谢谢

所有跟帖: 

XML 文件没有 Record -iceox- 给 iceox 发送悄悄话 (114 bytes) () 04/12/2004 postreply 05:39:57

回复: XML 文件没有 Record -tty- 给 tty 发送悄悄话 (0 bytes) () 09/27/2004 postreply 23:05:10

回复:XSL 问题请教, 谢谢! -iceox- 给 iceox 发送悄悄话 (132 bytes) () 04/12/2004 postreply 05:40:57

回复:回复:XSL 问题请教, 谢谢! -tty- 给 tty 发送悄悄话 (0 bytes) () 09/27/2004 postreply 22:56:13

回复:回复:回复:XSL 问题请教, 谢谢! -tty- 给 tty 发送悄悄话 (0 bytes) () 09/27/2004 postreply 23:03:56

回复:回复:回复:回复:XSL 问题请教, 谢谢! -tty- 给 tty 发送悄悄话 (0 bytes) () 09/27/2004 postreply 23:04:04

请您先登陆,再发跟帖!

发现Adblock插件

如要继续浏览
请支持本站 请务必在本站关闭/移除任何Adblock

关闭Adblock后 请点击

请参考如何关闭Adblock/Adblock plus

安装Adblock plus用户请点击浏览器图标
选择“Disable on www.wenxuecity.com”

安装Adblock用户请点击图标
选择“don't run on pages on this domain”