久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何從 xsd 生成 xpath?

How to generate xpath from xsd?(如何從 xsd 生成 xpath?)
本文介紹了如何從 xsd 生成 xpath?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

問題描述

如何從 xsd 生成 xpath?XSD 驗證 xml.我正在一個項目中工作,我正在使用 java 從 xsd 生成示例 XML,然后從該 XML 生成 xpath.如果有任何方法可以直接從 xsd 生成 xpath,請告訴我.

How can I generate xpath from an xsd? XSD validates an xml. I am working in a project where I am generating a sample XML from the xsd using java and then generating xpath from that XML. If there is any way to generate xpath directly from xsd please let me know.

推薦答案

這類工具存在很多問題:

There are a number of problems with such tools:

很少生成的 XPath 表達(dá)式是一個好的表達(dá)式.除了位置信息之外,沒有這樣的工具會產(chǎn)生有意義的謂詞.

The XPath expression generated rarely is a good one. No such tool will produce meaningful predicates beyond position information.

沒有工具(據(jù)我所知)會生成一個 XPath 表達(dá)式來精確選擇一組選定的節(jié)點.

There is no tool (to my knowledge) that would generate an XPath expression that selects exactly a set of selected nodes.

除此之外,在沒有學(xué)習(xí) XPath 的情況下使用這些工具確實是有害的——它們支持無知.

Apart from this, such tools used without learning XPath are really harmful -- they support ignorance.

我建議通過以下書籍和其他資源認(rèn)真學(xué)習(xí) XPath.

I would recommend serious learning of XPath using books and other resources such as following.

https://stackoverflow.com/questions/339930/any-good-xslt-tutorial-book-blog-site-online/341589#341589

有關(guān)更多信息,請參閱以下答案..

See the following answer for more information..

是否有用于 xPath 選擇器的在線測試器?

這篇關(guān)于如何從 xsd 生成 xpath?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

How to wrap text around components in a JTextPane?(如何在 JTextPane 中的組件周圍環(huán)繞文本?)
MyBatis, how to get the auto generated key of an insert? [MySql](MyBatis,如何獲取插入的自動生成密鑰?[MySql])
Inserting to Oracle Nested Table in Java(在 Java 中插入 Oracle 嵌套表)
Java: How to insert CLOB into oracle database(Java:如何將 CLOB 插入 oracle 數(shù)據(jù)庫)
Why does Spring-data-jdbc not save my Car object?(為什么 Spring-data-jdbc 不保存我的 Car 對象?)
Use threading to process file chunk by chunk(使用線程逐塊處理文件)
主站蜘蛛池模板: 日韩精品一区二区在线 | 亚洲成网 | 国产精品不卡一区 | 亚洲综合激情 | 理论片87福利理论电影 | 亚洲欧洲综合av | 亚洲国产精品第一区二区 | 天天看逼 | 日本91av视频 | 日本在线中文 | 在线中文字幕av | 日韩欧美一区二区三区免费看 | 国产精品久久久久国产a级 欧美日本韩国一区二区 | www久久国产 | 欧美日韩在线播放 | 日韩三级一区 | 国产精品久久九九 | 久久999 | 日本高清不卡视频 | 欧美日韩最新 | 一区二区三区四区毛片 | 国产伦精品一区二区三区在线 | 国产成人精品a视频一区www | 一级a性色生活片久久毛片 午夜精品在线观看 | 国产第1页 | 精品免费视频 | 欧美激情一区二区 | 亚洲成人黄色 | 欧区一欧区二欧区三免费 | 精品入口麻豆88视频 | 久久精品99国产精品日本 | 国产99视频精品免费视频7 | 日韩中文在线 | 五月激情综合网 | 天天干天天爱天天操 | 国产成人一区二 | 久久不卡| 91在线精品秘密一区二区 | 欧美精品一区二区免费 | 人人干人人干人人 | 欧美精品久久久久久 |