Quantcast
Channel: XQuery namespace problem
Browsing latest articles
Browse All 4 View Live

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 Article


XQuery 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 Article


XQuery namespace problem

Use with xmlnamespaces as follows:Code Snippetdeclare @xmltask xml;set @xmltask ='<tasks xmlns="http://iTask/task.xsd"><task>...

View Article

XQuery 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
Browsing latest articles
Browse All 4 View Live