1

How do I actually run XPath algorithms? Can I run it directly in SQL Server 2008? If so how?

Even something basic like /bookstore/*

Selects all the child nodes of the bookstore element, and maybe print them out or return them

Please help! I'm having issues finding tutorials/examples.

SQL Server 2008 XPath XPath to fetch SQL XML value

Community
  • 1
  • 1
afghanbloodhound
  • 571
  • 1
  • 4
  • 8

2 Answers2

1

Here is the XQuery Language Reference. And under tag xquery-sql you find a couple of question regarding XQuery in SQL Server that might be helpful. They also hide under sqlxml.

You could also have a look at Introduction to XQuery in SQL Server 2005.

Community
  • 1
  • 1
Mikael Eriksson
  • 136,425
  • 22
  • 210
  • 281
0

You can find some good examples here

hkravitz
  • 1,345
  • 1
  • 10
  • 20