473,396 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

grep for XML - XPath on OS-X

Hi,
I am looking for a tool like XMLStarlet that works on OS-X. The
goal is to search (grep like) in XML files using XPath. I would like
to avoid Xindice from apache. I didn't succeed to use pathan. A Java
implementation would be the best.
Thank you,
Sylvain Gaudan
Jul 20 '05 #1
2 2811
ga****@ebi.ac.uk (Sylvain Gaudan) wrote in message news:<73**************************@posting.google. com>...
Hi,
I am looking for a tool like XMLStarlet that works on OS-X. The
goal is to search (grep like) in XML files using XPath. I would like
to avoid Xindice from apache. I didn't succeed to use pathan. A Java
implementation would be the best.
Thank you,
Sylvain Gaudan


There is XmlStarlet package for OS-X in Fink

http://fink.sourceforge.net/pdb/package.php/xmlstarlet

It also should not be difficult to compile it from source on OS X

http://xmlstar.sourceforge.net/
XMLStarlet Command Line XML Toolkit
Jul 20 '05 #2
Thank you Mikhail for you answer!
But something stays unclear to me. I see from the fink site that an
xmlstarlet package is existing, but I don't see it in FinkCommander
and the command
apt-cache search xmlstarlet
does not retrieve anything (after an update of the package list of
course).
Any idea? I guess this is not something related to xmlstarlet but to
fink/debian.
Thank you!
Sylvain.
There is XmlStarlet package for OS-X in Fink
http://fink.sourceforge.net/pdb/package.php/xmlstarlet

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: sf | last post by:
Just started thinking about learning python. Is there any place where I can get some free examples, especially for following kind of problem ( it must be trivial for those using python) I have...
2
by: John E. Jardine | last post by:
Hi, Problem: Executing 's///' has a side effect on grep null string matching. If line 62, the substitution, is executed the last two values returned by grep and printed on lines 68, 69 are...
1
by: Dirk Segelhorst | last post by:
Hi, I am looking for an efficient XML grep tool (similar to UNIX grep) for XPath search in big XML documents. The tools I found are not what I actually need: - xmlgrep...
1
by: bhavya sg | last post by:
Hi, I saw in PEP4 of python 2.5 that grep module has gone obsolete in perl 2.5. But I am not able to find an alternative for that.My doubt is "are the other forms of grep like egrep and ggrep...
7
by: Tim Hallwyl | last post by:
Hi, there! As I understand the XPaht recommendation, the context node is a node; not a node-list, not XPath object -- but a single node. Now, the WS-BPEL 2.0 specification allows an XML simple...
13
by: Anton Slesarev | last post by:
I've read great paper about generators: http://www.dabeaz.com/generators/index.html Author say that it's easy to write analog of common linux tools such as awk,grep etc. He say that performance...
47
by: Henning_Thornblad | last post by:
What can be the cause of the large difference between re.search and grep? This script takes about 5 min to run on my computer: #!/usr/bin/env python import re row="" for a in range(156000):...
0
by: bruce | last post by:
valid point...!! here's the test python.. ugly as it is!! Lodge It New All About ? Paste #83093
1
by: bruce | last post by:
Hi. Got a test web page, that basically has two "<html" tags in it. Examining the page via Firefox/Dom Inspector, I can create a test xpath query "/html/body/form" which gets the target form for...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.