This project is read-only.

First Post :)

Sep 12, 2008 at 1:23 AM
Edited Sep 12, 2008 at 1:26 AM
Not sure how we've made it this long without a single discussion.  I've finally decided to start one.  I'd love to hear from anyone that uses XML Explorer.  I, personally, use it nearly every day.  We've had a few feature requests and issues submitted (by someone other than myself).  Any feedback?  Questions?  Comments?
Sep 22, 2008 at 10:55 PM
Hi there . .am trying to use it to extract some nodes from an MS project document . . there is no help in the tool and I can't seem to get a basic X-Path query to do anything (i.e. nothing opens up in a new tab) . . .and if I use the validation field at the bottom I just get an error . . probably doing something very basically wrong, any chance of giving some basic examples e.g. to retrive all thew task names in a document that has <Project> <Tasks> <Task> <Name> as the basic tree I am interested in??

Many Thanks
Sep 22, 2008 at 11:10 PM
Edited Sep 22, 2008 at 11:13 PM
Yeah, adding documentation never seems to make it into my priority list.  Don't suppose you have any time to donate to the cause?  :)

Sounds like you might need an intro to XPath.  I highly recommend the w3schools site:

The validation tab at the bottom is for performing validation against an XSD schema file.

For your example, /Project/Tasks/Task/Name would return all the Name nodes.  /Project/Tasks/Task/Name/text() would return just the text content of all the name nodes.  Enter one of these xpath statements in the XPath bar at the top and press the Enter key to select the first matching node.  Press the Launch button (or press Shift-Enter) to open a new tab with all the matching nodes.

Let me know if you still need help.
Sep 22, 2008 at 11:34 PM
. . sorry, I have my own documentation charities :)

Yep my xpath skills are nowhere, however if I put "/Project/Tasks/Task/Name" in the Xpath bar and hit enter it goes red and i get an error ping in my ear-piece, no other response  . .any advice on that, what am i missing? The Launch button does nothing either.
Many thanks for the prompt response.

Sep 22, 2008 at 11:46 PM
. . second thoughts  . .if this tool does what I need, I can maybe do you a couple of guide pages for helping newbies :!
Sep 23, 2008 at 1:10 AM
Sorry, can you post your xml file or a small sample?  Your file may be using namespaces, or the xpath might not be correct.  When the XPath bar goes red, is there an error in the status bar at the bottom of the window?
Sep 23, 2008 at 5:11 AM
Yep it was the namespace . . as soon as i deleted that it worked . .  sorry to trouble you

Can I be real cheeky and ask if  \Project\Tasks\Task\Name gets me all the names of the tasks, how would I extend that to get the  Project\Tasks\Task\Notes tooo in the same extract?  This would save my life in writing a proposal extract from the mS Project document :)


Sep 23, 2008 at 1:00 PM
Edited Sep 23, 2008 at 1:02 PM
You don't have to delete the namespace, but the namespace does (currently) have to include a prefix.  XML Explorer has a known bug that makes it not work with default namespaces (namespace definitions without prefixes).  So <Project xmlns:joe=""> should work, but <Project xmlns=""> would not.

To get notes in the same expression, just | them together like /Project/Tasks/Task/Name|/Project/Tasks/Task/Notes.  If you're using the expression in code, you can just use /Project/Tasks/Task to get all the Task nodes, then iterate over them, pulling both the Name and Note values as you go.

Hope that helps,

Jan 26, 2010 at 9:15 PM

Nice tool. What do the Expressions section do? I mean the tool is intiutive but nothing I enter to search thru my wsdl produces a response.

Jan 27, 2010 at 2:41 AM

Thanks.  XML Explorer doesn't have simple text search (yet).  What it does have is the XPath bar at the top.  You can enter an XPath expression and press the Enter key on the keyboard and the first result will be selected.  You can also click the Launch button, and all the results will be opened in a new tab.  If you're not familiar with XPath syntax, I reccommend you check out this tutorial  If you find yourself using the same XPath expression repeatedly, you can click the favorite (star) button and save it for later use (like web browser favorites or bookmarks).