I am using XmlSpy to analyze an xml file, and I want to get a quick count of the number of nodes that match a given xpath. I know how to enter the xpath and get the list of nodes, but I am really just interested in the count. Is it possible to get this?
I'm using XmlSpy Professional Edition version 2007 sp2, if it matters.
From stackoverflow
pkaeding
-
I just figureed it out. I just needed to put count() around my xpath, like so:
count(//my/node)
From pkaeding
0 comments:
Post a Comment