↧
XQuery namespace problem
With XQuery you can use *: foo to select an element with local name 'foo' in any namespace.So completely "ignoring" the namespace is not possible butCode Snippetselect...
View ArticleXQuery namespace problem
Thanks Martin. I had alread used select task.ref.value('declare namespace tk="http://iTask/task.xsd"; (tk:taskid/text())[1]','nvarchar(50)')as taskidfrom @xmlTask.nodes('declare namespace...
View ArticleXQuery namespace problem
Use with xmlnamespaces as follows:Code Snippetdeclare @xmltask xml;set @xmltask ='<tasks xmlns="http://iTask/task.xsd"><task>...
View ArticleXQuery namespace problem
I am trying to return a taskid from the following declare @xmltask xmlset @xmltask = '<tasks xmlns="http://iTask/task.xsd"> <task>...
View Article