?
Solved

best command-line XPATH parser?

Posted on 2013-06-08
4
Medium Priority
?
424 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

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Create a Windows 10 custom Image with custom task bar and custom start menu using XML for deployment.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

764 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