以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 XSL/XSLT/XSL-FO/CSS 』 (http://bbs.xml.org.cn/list.asp?boardid=8) ---- 在xslt中,用到了<xsl:copy-of select=""/>元素,可是,在copy下来的元素中,确产生了一个命名空间。怎么去掉它? (http://bbs.xml.org.cn/dispbbs.asp?boardid=8&rootid=&id=13066) |
-- 作者:su_jb -- 发布时间:12/28/2004 5:13:00 PM -- 在xslt中,用到了<xsl:copy-of select=""/>元素,可是,在copy下来的元素中,确产生了一个命名空间。怎么去掉它? 在xslt中,用到了<xsl:copy-of select=""/>元素,可是,在copy下来的元素中,却产生了一个命名空间。怎么去掉它? 多谢!!! |
-- 作者:doubleG -- 发布时间:12/29/2004 9:47:00 AM -- When the result of evaluating the expression is a result tree fragment, the complete fragment is copied into the result tree. When the result is a node-set, all the nodes in the set are copied in document order into the result tree; copying an element node copies the attribute nodes, namespace nodes and children of the element node as well as the element node itself..... 所以想要去掉的话 ,只能自己用<xsl:copy/>然后自己去除当中的内容,或者就是自己<xsl:element/> <xsl:attribute/> 呵呵 |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
31.250ms |