3 ms·
it works if you need to not use the structured nature of the document for $mp in /ls:live_stream_config/ls:mountpoints/ls:mountpoint for $server in
by its-summertime 4y ago
it works if you need to not use the structured nature of the document
for $mp in /ls:live_stream_config/ls:mountpoints/ls:mountpoint
for $server in $mp/ls:servers/ls:server
return { concat(
"https://", $server/ls:ip, "/", $mp/ls:mount, ".",
local:codec-to-ext($mp/ls:media-format/ls:audio/@codec)
) }
is the core of my xqilla work, its something I could replicate in jq, I don't think I could replicate it in xq however