以文本方式查看主题 - 中文XML论坛 - 专业的XML技术讨论区 (http://bbs.xml.org.cn/index.asp) -- 『 XQuery/XLink/XPointer/ 』 (http://bbs.xml.org.cn/list.asp?boardid=14) ---- 新人,问一个关于xindice的xpath的问题 (http://bbs.xml.org.cn/dispbbs.asp?boardid=14&rootid=&id=20245) |
-- 作者:liueos -- 发布时间:7/8/2005 6:12:00 PM -- 新人,问一个关于xindice的xpath的问题 <?xml version="1.0"?> <product product_id="120320"> <description>Glazed Ham</description> </product> 我在xindice添加了一个上面的文档,用 xindiceadmin.bat xpath -c /db/test -q /product命令 查出来了内容为 <?xml version="1.0"?> <product product_id="120320" xmlns:src="http://xml.apache.org/xindice/Query" src :col="/db/test" src:key="61005840664de47400000104f5e276a6"> <description>Glazed Ham</description> </product> 但是用xindiceadmin.bat xpath -c /db/test -q /product[@product_id="120320"]或 xindiceadmin.bat xpath -c /db/test -q /product[product_id="120320"]无论怎么样都查不出内容,我的xpath表达式有没有问题呀??还是我的xindice1.0有问题? |
-- 作者:heiyuchuanxia -- 发布时间:3/6/2006 2:29:00 PM -- 我也很感兴趣这个问题,也曾遇到过,那位高人指点一下~~~~~ |
W 3 C h i n a ( since 2003 ) 旗 下 站 点 苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》 |
203.125ms |