All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
command line tool for xml
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
command line tool for xml - Mar. 25, '06, 1:21:31 PM
|
|
|
hemadrid
Posts: 5
Joined: Jul. 15, '05,
Status: offline
|
Hi,
Is there an interix port of a tool like XMLSTARLET(http://xmlstar.sourceforge.net/) to work with xml files and do shell scripting where we extract security token from a response to one web service operation and insert in the request to another operation.
Thanks.
|
|
|
RE: command line tool for xml - Mar. 25, '06, 9:22:51 PM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
It was too easy to do, so it's done.
To be announced in a few minutes.
pkg_update -L xmlstarlet
|
|
|
RE: command line tool for xml - Mar. 25, '06, 9:56:23 PM
|
|
|
hemadrid
Posts: 5
Joined: Jul. 15, '05,
Status: offline
|
Thank you so much. I am a newbie at this and i was getting lot of errors when i do make.
*********
make all-recursive
Making all in src
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../src -I.. -I../src -I/usr/include/libxml2 -I/usr/include/libxslt -I/usr/include/libexslt -I/usr/include -Wall -g -pedantic -D_ALL_SOURCE -I/usr/local/include -I/usr/local/ssl/include -Wall -g -pedantic -c xml.c
xml.c: In function `main':
xml.c:166: error: `VERSION' undeclared (first use in this function)
xml.c:166: error: (Each undeclared identifier is reported only once
xml.c:166: error: for each function it appears in.)
*** Error code 1
***********
|
|
|
RE: command line tool for xml - Mar. 26, '06, 2:44:33 AM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
You're welcome.
I missed adding the libiconv dependency with my initial posting.
But it's fixed now in the package.
The o/p from your make indicates that you needed to add some options
to configure when you ran it. The dependent libraries are under the /usr/local
tree not /usr. So using the "--with-libxslt-prefix=/usr/local" et al is needed.
Though I have to say, it was weird that configure could do this itself since
most configure's work something like this out.
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|