Before leaning FOR XML PATH option and XQuery, today, we'll learn about XPath Expression. This post will go over some XPath terminologies. Next post we'll look at the XPath syntax and work through some examples. If you want to learn more about XPath, please read the W3C XPath documentation here. W3schools website also has a good tutorial here. Xpath (XML Path Language) Is a standard for define path to element in XML fragments/documents. Like a query language for XML Expressed in hierarchical way (like path in UNIX file system) Used in XQuery, XSLT, Xpointer, XML Schema Level are delimited with / character By default every column are element Prefix the column alias with @ character to covert column to attribute-centric formatting. XPath Nodes: Root Element Attribute Text Namespace Comment...
Comments
Post a Comment