Well, long time no post :). I dont have much things to say. Atleast a couple of stuff to share.First, I finally did some some work on my Visual XPath application (which I'm going to upload within the next few days) and most importantly, I enrolled for a Masters Degree in Mobile Computing. I haven't done any .NET CF programming before therefore I am looking for some good books or "Getting started" type of tutorials. In the first semester, we have four courses: namely, Mobile Computing, Mobile Performance Engineering, Concurrent and Distributed Systems and Networks & Protocols. There is an optional course of Software Development (though, I will not be taking this) in which they are going to teach Java :) with a book named "Java made simple" ( a title most appropriate for an MSc student). To be honest, It feels very annoying when you see people talking about Java as some standard in teaching. I know that there are lots of libraries and a whole lot of academic projects built with java but so what, give me some space plz. I can see this as an opportunity extend .net to create similar libraries or modules which are already available in Java. Enough for now as I'll talk more about my studies as we move along.
Download Source Code From This Page
What is Visual XPath?
Visual XPath is a graphical way of generating XPath query results. It can also be used to generate XPath queries dynamically by select XML nodes shown in the form of Tree. You can also generate queries for individual attributes.
What not is Visual XPath?
Visual XPath is not an XPath Parser. It utilizes Microsoft .NET XPath parser and other XML related APIs. It does not validate XML document against DTD or Schema. Although it will display error, if the XML document is not Well Formed. It is not an XML Editor therefore I removed Editing XML and Save As XML functions from the latest version. Although the XML file, if present on your hard disk, can be opened in the Notepad from the Utility.
How to integrate with VS.NET?
Step 1: Add to the External Tools
Goto Tools->External Tools
Add Visual XPath: Put $(ItemPath) in the Arguments text box
Step 2: Map a shortcut key to this external tool
Press the Keyboard button and then write "Tools.ExternalCommand(n)" in the Show command containing text box, where n is the sequence of the Visual XPath tool. You can get this number by selecting the Tools window and counting the external tools upto Visual XPath.
The assign some shortcut key for this tools. I preferred Ctrl+Shirt+X, which is also available to use.
Known Bugs: There is a bug with the tool when dealing with nested “default namespaces“ notified by Omar. Currently, the tool searches for only root level default namespaces like in the following example.
It works fine with the above file but it fails to recognize any default namespaces used inside the documents as shown in the following example.
This is a sweet phone. One of these days I’ll talk a bit more about it, but
In this rss file, the <body> tag also contains the default namespace which is treated as a document level namespace by the tool, hence putting the "def" (the word to represent default level namespace) word before any tag.
This bug only effects those files which contains the nested default namespaces.
I'll try to solve this bug as soon as possible.
Note: Email me if you have any type of comments, feature-requests and suggestions, either constructive or destructive (in case they are in the destructive category, please provide your opinion). I also need to know if there are any bugs, errors in the software. The source code is not included with the download. The only reason is that it is not very well documented therefore you can email me if you want it anyway.
If you like this then you might like my other Projects