Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

best command-line XPATH parser?

Posted on 2013-06-08
4
Medium Priority
?
426 Views
Last Modified: 2013-06-11
I need to find the best command-line XPATH html/xml parser.

With some research I found two command-line parsers that supports the very recent XPATH 3.0:
- Basex
- Saxon-PE

Are they the best command-line XPATH html/xml parser on the market?
0
Comment
Question by:lucavilla
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 27

Expert Comment

by:skullnobrains
ID: 39232139
you may want to try xsltproc http://xmlsoft.org/XSLT/xsltproc2.html
that was years ago but it used to be faster and more robust than saxon while using reasonably little resources. i'm unsure the version it supports. i saw 2.0 was implemented mid 2k though

i don't remember using baseX
0
 

Author Comment

by:lucavilla
ID: 39232167
I looked at that page but xsltproc doesn't cite "XPATH".
What's the specific name of tool to download are where can I download it?
and what's the command-line for extracing an XPATH nodes-set from an html local file?
0
 
LVL 27

Accepted Solution

by:
skullnobrains earned 1500 total points
ID: 39232261
i think i incidentally answered in your other thread. using xpathtool should do the trick. it is a wrapper around xsltproc that lets you execute an xpath query and produces the xml output. i assume it barely sets up a 3 lines xslt that selects the given xpath query on the file read from stdin
0
 

Author Closing Comment

by:lucavilla
ID: 39239681
...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question