Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 2.66 KB

File metadata and controls

40 lines (32 loc) · 2.66 KB
title Using XPath Queries in SQLXML 4.0
description Learn about using XPath queries in SQLXML 4.0 to query the XML views created by an annotated XSD schema.
author MikeRayMSFT
ms.author mikeray
ms.date 03/17/2017
ms.service sql
ms.subservice xml
ms.topic reference
helpviewer_keywords
XPath queries [SQLXML]
annotated XSD schemas, XPath queries
queries [SQLXML], XPath
XML views [SQLXML]
monikerRange =azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||=azuresqldb-mi-current

Using XPath Queries in SQLXML 4.0

[!INCLUDE SQL Server Azure SQL Database] Microsoft [!INCLUDEssNoVersion] support for annotated XSD schemas allows you to create XML views of the relational data stored in the database. You can use a subset of the XPath language to query the XML views created by an annotated XSD schema.

Note

To understand XPath queries in SQLXML 4.0, you must be familiar with XML views and related concepts such as templates and mapping schema. For more information, see Introduction to Annotated XSD Schemas (SQLXML 4.0). For more information about XPath, see the XPath standard defined by the World Wide Web Consortium (W3C) at http://www.w3.org/TR/xpath.

In This Section

Introduction to Using XPath Queries (SQLXML 4.0)
Provides introductory information about XPath queries in SQLXML 4.0, including supported and unsupported functionality from the W3C XPath specification.

Specifying a Location Path (SQLXML 4.0)
Describes how to specify location paths in XPath queries.

Sample XPath Queries (SQLXML 4.0)
Provides sample XPath queries for SQLXML 4.0.

XPath Data Types (SQLXML 4.0)
Describes XPath data types, which are significantly different from those of both [!INCLUDEssNoVersion] and XSD.

See Also

Client-side XML Formatting (SQLXML 4.0)