Hi Dave
this will grab the ProjectID from the URL of the page you are on (assuming it contained the text "&ProjectID=123456" somewhere in the URL of course).
Yes, true. You can use that PARAM/XML syntax in a NSQL query to pick up ids from the page URL but not in a lookup NSQL as far as I know.
just to clarity:
You keep mentioning URL in context of XML param?
The relation between the two is that URL params get transferred into XML (check debug=1 output with custom ...&MyParam=yes&whateverElse=1111)
the @WHERE:PARAM:XML.... handles the XML, not URL
Hence you are able to access URL params as any other param in XML and you are able to access XML from NSQL Queries as well as Lookups
I do not know what xpath (if at all) parser is used in Clarity , I expect one that comes with Saxon, but still syntax construct does not
accept any collection/function handling methods , like []; ::, () (clarity ver 13)
hence you should point to single values with your xpath, like /data/header/security/@sessionId
If anybody knows how to work with collections, something like /data/Objects/Object[postition() = 1]/@code please share info
cheers!
pp