以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 XSL/XSLT/XSL-FO/CSS 』 (http://bbs.xml.org.cn/list.asp?boardid=8) ---- 求助 (http://bbs.xml.org.cn/dispbbs.asp?boardid=8&rootid=&id=73747) |
-- 作者:sallymi -- 发布时间:4/1/2009 1:15:00 PM -- 求助 我有一个比较弱的问题。如何将带有命名空间的根节点完全的显示出来? 例如,有一个xml: <root xmlns:xsi="http://www.w3.org/2001/XMLSchema" id="temp"> <A>temp1 </A> <B>temp2 </B> </root> 我想要完整的显示<root xmlns:xsi="http://www.w3.org/2001/XMLSchema" id="temp">,该如何写xsl呀?
|
-- 作者:sallymi -- 发布时间:4/1/2009 2:26:00 PM -- 更新一下 <root xmlns:xsi="http://www.w3.org/2001/XMLSchema" id="temp"> <xsi:A>temp1 </xsi:A> <xsi:B>temp2 </xsi:B> </root> 我想要完整的显示<root xmlns:xsi="http://www.w3.org/2001/XMLSchema" id="temp"> |
-- 作者:Qr -- 发布时间:4/1/2009 6:25:00 PM -- <xsl:copy-of> |
-- 作者:hexun831012 -- 发布时间:4/6/2009 8:58:00 PM -- QR说的是唯一方法,xmlns在xsl中无法获取 |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
46.875ms |