Jump to content
AJBM

XQuery

Recommended Posts

AJBM

Boas!

Existe alguma função em xquery que me permita saber o nome de um dado ficheiro xml?

Share this post


Link to post
Share on other sites
AJBM

Outra duvida

Eu estou a remover um recurso, a query funciona,

a minha duvida é no caminho assim ele funciona

...QueryRemoverRecurso?Titulo={$item/Titulo}

mas e eu puser QueryRemoverRecurso?Titulo={$item/Titulo}&Autor={$item/Autor} ja nao funciona

Share this post


Link to post
Share on other sites
AJBM

ja consegui resolver o problema utilizei amp e ja funcionou

Boas!

Eu tenho uma query e na cláusula where faço duas restriçoes

for $m in doc(caminho)

where $m/autor="123" and $m/titulo="teste"

return $m

supostamente devia me dar os que tem autor= 123 e titulo = teste mas esta a dar-me tudo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.