CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 12:07:16 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 17:50:20 GMT
cache-control: max-age=2592000, public
expires: Mon, 10 Nov 2025 12:07:16 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98ce3c793b2a8a2a
strict-transport-security: max-age=15552015; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
cf-cache-status: EXPIRED
set-cookie: __cf_bm=0WXb_bU0dZNvaTguQy18y4up2YGBSYiUeS3hdgQPlTo-1760184436-1.0.1.1-hCECkNZd1uNUZjua5H7GKW9jKPJ4cExJ9egT0Rr4eJegGm1c9huZnxSbQXp2GPxosQqBFqQxAuSk6m7X52DSFKnBes0RHc5.h2wLgzmg7P4; path=/; expires=Sat, 11-Oct-25 12:37:16 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98ce3c793b2a8a2a-BLR
alt-svc: h3=":443"; ma=86400
XPath 2.0 little question on draft (`for' statement) from Bernard van Gastel on 2003-11-19 (public-qt-comments@w3.org from November 2003)
XPath 2.0 little question on draft (`for' statement)
- From: Bernard van Gastel <bernardg@sci.kun.nl>
- Date: Wed, 19 Nov 2003 16:21:21 +0100 (MET)
- To: public-qt-comments@w3.org
- Cc: is1@bitpowder.com
- Message-ID: <Pine.GSO.4.44.0311191612150.27746-100000@studs2.sci.kun.nl>
Hello XPath 2.0 Working Group, In Section 3.7 of the XPath 2.0 draft of 22 August 2003 the following example is included. for $a in distinct-values(//author) return ($a, for $b in //book[author = $a] return $b/title) I think it can be replaced by the following sniplet. for $a in distinct-values(//author) return ($a, //book[author = $a]/title) Is this correct? Why is chosen for the first version (if the second version is correct) instead of the second? Thank you in advance, Bernard van Gastel - Student Computer Science, University of Nijmegen, The Netherlands
Received on Wednesday, 19 November 2003 10:56:25 UTC