Trevor Sullivan's Tech Room

Minding the gap between administration and development

Microsoft XML Notepad 2007 & XPath

Posted by Trevor Sullivan on 2011/06/29

Did you know that you can use Microsoft’s XML Notepad 2007 to help you build XPath queries? Simply open XML Notepad 2007, open an XML file inside of it, or paste the contents of one. Once the document is loaded, find the XML node that you want to query for. Then, simply hit [Ctrl] + F to open the “Find” window, and click the “Use XPath” checkbox. The editor will automatically populate the search box with your XPath query!

Keep in mind that the editor only uses the numeric indexes of nodes to reference them. If you want to use XML node names, you’ll need to replace the numbers with the appropriate attribute (eg. @Name=’requestFiltering’)



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: