新足迹

 找回密码
 注册

精华好帖回顾

· 不上进的小宅女介绍一下自己找工作的经验 更新9,下班回家就10点,写完11点20.累啊…… (2012-5-9) smilet · 养金鱼 (2007-3-14) coldair
· 怒了!综合整理足迹Melbourne修车点大全! (2007-11-8) shadowin · to老实和尚 (2007-7-27) 思思妈妈
Advertisement
Advertisement
查看: 982|回复: 4

xml expert, please come in [复制链接]

发表于 2006-1-24 21:59 |显示全部楼层
此文章由 19st9 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 19st9 所有!转贴必须注明作者、出处和本声明,并保持内容完整
Hi ,

I am facing a problem, I want to get the Xpath for all the element specified in XSD(NOT the XML), I try writing my own xslt to extract the informatin but it seems not working, the way the saxon parses the .xml is different to .xsd(or because schema, element etc are keyword?)

can someone have any idea by giving the XSD how to generate the xpath for all the elements that specified in the XSD?

thanks so much!
Advertisement
Advertisement

发表于 2006-1-24 22:24 |显示全部楼层
此文章由 courier 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 courier 所有!转贴必须注明作者、出处和本声明,并保持内容完整
关注中

发表于 2006-1-24 22:47 |显示全部楼层
此文章由 Janet 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 Janet 所有!转贴必须注明作者、出处和本声明,并保持内容完整
将xsd改成xml扩展名试试。如果成功说明是对XML schema的文件有不同;如果不成功就是你的程式有问题。

发表于 2006-1-24 23:04 |显示全部楼层
此文章由 jeru 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 jeru 所有!转贴必须注明作者、出处和本声明,并保持内容完整
try xmlbean,it's a open source project from apache

发表于 2006-1-25 05:39 |显示全部楼层
此文章由 19st9 原创或转贴,不代表本站立场和观点,版权归 oursteps.com.au 和作者 19st9 所有!转贴必须注明作者、出处和本声明,并保持内容完整
i try rename xsd to xml, but it doesn't work, i use xmlspy, it can show the xpath for only one element, but not all

发表回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Advertisement
Advertisement
返回顶部