Get to know your Xpath
Posted At : March 14, 2007 4:13 PM
| Posted By : Mark Drew
Related Categories:
coldfusion,
xml
Working with XML in ColdFusion can be fun or can be daunting sometimes. One of the things that is a gotcha for me all the time is doing XPath, even after a few minutes of googling for "Xpath Tutorial" or whatever I get bored, find the solution and then that's it.
One of the great little tools I found upon my travels is the XPath Explorer, its a nice little jar file that you can just double click and run (if you are on a Mac, God help you if you are on a PC, Windows will proably think its a banana or a Nokia package installer). Once you have it running you can load in an XML File and start creating XPaths either by entering the text or clicking on nodes.
It also comes as plugins for Eclipse and NetBeans
Very handy!


http://www.oxygenxml.com
called SketchPath. But realizing this is an Apple/Eclipse area
and SketchPath is .NET based this would be pretty unfair.
Instead though, as a suggestion, I would like to see some
of the SketchPath features appear in other XPath products,
especially those with which SketchPath can't ever compete.
I shall check it out as I can run it under parallels or VM ware...
SketchPath doesn't do this yet, but its high on the 'to do' list.