Do these have the same meaning? Might there be a subtle distinction, or might they be read differently but functionally identical?
xquery /*/book[@id="bk112"]
<book id="bk112"> <author>Galos, Mike</author> <title>Visual Studio 7: A Comprehensive Guide</title> <genre>Computer</genre> <price>49.95</price> <publish_date>2001-04-16</publish_date> <description>Microsoft Visual Studio 7 is explored in depth, looking at how Visual Basic, Visual C++, C#, and ASP+ are integrated into a comprehensive development environment.</description> </book> Query executed in 1.22 ms.
xquery //book[@id="bk112"]/title
<title>Visual Studio 7: A Comprehensive Guide</title> Query executed in 1.52 ms.
xquery /*/book[@id="bk112"]/title
<title>Visual Studio 7: A Comprehensive Guide</title> Query executed in 1.67 ms.
They're equally efficient, at least as used above?
thanks,
Thufir