Xquery to find last entry in XML?

Is there a simple xquery to find the last entry in an xml document?

Thanks

Answers


(//entry)[last()]

plus some padding because StackOverflow doesn't like short answers.


Need Your Help

vs2010 XAML Find highlight is very fade

visual-studio visual-studio-2010 search

As you can see at the following picture when I search for a word with "Find Next" button the highlight on the word I'm searching is very faded and difficult to see.

Angular Kendo Splitter only binding data on the first pane

angularjs kendo-ui angular-kendo kendo-splitter kendo-ui-splitter

I've been having trouble figuring out why Angular is not binding data anywhere after the first pane of my Kendo-UI splitter.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.