Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Talk:XQuery

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is thetalk page for discussing improvements to theXQuery article.
This isnot a forum for general discussion of the subject of the article.
Find sources: Google (books ·news ·scholar ·free images ·WP refs·FENS ·JSTOR ·TWL
This article is ratedStart-class on Wikipedia'scontent assessment scale.
It is of interest to the followingWikiProjects:
WikiProject iconComputing:SoftwareLow‑importanceicon
WikiProject iconThis article is within the scope ofWikiProject Computing, a collaborative effort to improve the coverage ofcomputers,computing, andinformation technology on Wikipedia. If you would like to participate, please visit the project page, where you can jointhe discussion and see a list of open tasks.ComputingWikipedia:WikiProject ComputingTemplate:WikiProject ComputingComputing
LowThis article has been rated asLow-importance on theproject's importance scale.
Taskforce icon
This article is supported byWikiProject Software (assessed asLow-importance).
Note icon
An editor has requested that animage orphotograph beadded to this article.

Purpose of XQuery

[edit]

I feel the description of the purpose of XQuery misses the point. While you can use XQuery on a single XML document, the main intended use is to search through collections, e.g. databases, of XML documents, analogous to SQL for RDBMSs.

From the W3C site: "The mission of the XML Query project is to provide flexible query facilities to extract data from real and virtual documents on the World Wide Web, therefore finally providing the needed interaction between the Web world and the database world. Ultimately, collections of XML files will be accessed like databases. "

The view that this article conveys is understandible given that current tutorials often assume a single document as the student is likely to be using a command line processor against a sample file. This creates the impression that XQuery is a weird form of XSLT. I believe that XSLT is a better fit for problems of transforming XML files and that the justification for XQuery is that it allows processors to optimise the search across a collection of XML documents. — 11:02, 4 August 2004193.120.126.114

Indent the body of the for loop?

[edit]

I have not used this language, but I feel it would be neater if the body of the for loop in the example script was indented. This would look much clearer, and that's how I would present it myself, if the language permits it. I am assuming the "return" expression is actually evaluated once per iteration of the loop, and dumps output sequentially (unlike return statements in other languages).82.32.31.166 (talk)23:17, 6 March 2012 (UTC)[reply]

if you had used the language, I think you would soon find yourself using the layout style shown here. Getting a clean layout for XQuery isn't always easy, but vertical stacking of the clauses in a FLWOR expression works well and is normal practice.Mhkay (talk)23:36, 6 March 2012 (UTC)[reply]

Is ChatGPT reliable for links?

[edit]

Helllo! Wikipedia recommended for me to improve XQuery by adding citations. I don't rly have a background in this topic and am having trouble understanding where to find links. Is Chatgpt useful for helping editors find links? Or is this considered a no-no? lmk! thank youSpindella000 (talk)14:56, 6 November 2025 (UTC)[reply]

I found these forApplications ??https://www.w3schools.com/xml/xquery_intro.asp#:~:text=XQuery%20is%20the%20language%20for,collection%20stored%20in%20cd_catalog.xml%22
https://www.w3.org/TR/xpath-full-text-30/#:~:text=Abstract,with%20full%2Dtext%20search%20capabilities.
And removed the flag...but don't want to step on any toes so can always add back :)Spindella000 (talk)15:05, 6 November 2025 (UTC)[reply]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Talk:XQuery&oldid=1320749517"
Categories:

[8]ページ先頭

©2009-2026 Movatter.jp