XQuery 和XML数据库

发布于 2024-10-01 15:54:02 字数 306 浏览 0 评论 0原文

我决定从专业书籍中学习 XML,而不是在线阅读教程,经过一番研究后,我决定阅读“Beginning XML,第 4 版”一书,这是一本非常有趣的书,我向任何想要学习 XML 的人推荐它,我的问题是: 阅读和阅读学习这些章节:

  1. XQuery,XML 查询语言

  2. XML 和数据库

主要从事

Hibernate/JPA 对象的 /关系持久性?或者换句话说,学习 XQuery 和 XQuery 是否有效? XML 数据库真的符合当前行业标准所需的技能吗?

提前致谢

I decided to learn XML from a professional book instead of reading tutorials online, after some research i decided to read "Beginning XML, 4th Ed" book and it was very interesting book and i recommend it to anyone want to learn XML, my question is:
does reading & learning these chapters:

  1. XQuery, the XML Query Language

  2. XML and Databases

really required for someone who is doing mainly:

Hibernate/JPA for object/relational persistence? or in other words does learning XQuery & XML databases really required by the current industry standards skills ?

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淡淡绿茶香 2024-10-08 15:54:02

如果您使用 XML 排列数据,您将需要:

  1. 保存数据
  2. 查询数据

有多种方法可以同时执行 1 和 2。数据库专为 XML 存储而设计,正如您已阅读的 1 和 XQuery 的内容。

可能更多比XQuery更流行的是XPath,它是XSL转换的基础。对于存储来说,可能更流行的只是普通的旧文件系统,但这导致通常只使用 XML 来存储相当静态的数据。

所以就你的问题而言...我一直使用 XML,但不使用 XQuery,也不使用 XML 数据库。

If you are arranging data using XML, you will need to:

  1. Persist the data
  2. Query the data

There are various ways to do both 1 and 2. Databases designed for XML storage as you have read about for 1, and XQuery for 2.

Probably more popular than XQuery is XPath which is the basis of XSL transform. And probably more popular for storage is just the plain old file system, but this leads to generally only using XML for fairly static data.

So to the point of your question... I use XML all the time, but not XQuery, nor an XML database.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文