LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-31-2006, 10:25 PM   #1
wmh830621
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Rep: Reputation: 0
how to use shell scripts process xml document?


is there any shell libaray?Please help me!
 
Old 08-01-2006, 12:46 AM   #2
drj000
Member
 
Registered: Sep 2004
Location: Houston, TX
Distribution: Fedora
Posts: 261

Rep: Reputation: 33
You might want to have a look at libxml2, and the included xmllint tool. I've never used it myself, but it look like it might be helpful for command line xml parsing.
 
Old 08-02-2006, 06:31 AM   #3
wmh830621
LQ Newbie
 
Registered: Jul 2006
Posts: 7

Original Poster
Rep: Reputation: 0
libxml is coded with C,but i want to a xml parse coded with shell scripts.
Is it possible?
Thank you very much!
 
Old 08-02-2006, 07:45 AM   #4
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
i never done any xml but seems to me that this guy is parsing xml with bash ::

http://anton.lr2.com/archives/2005/0...sing-some-xml/


//hope it helps ...

.
 
Old 08-03-2006, 11:13 PM   #5
alred
Member
 
Registered: Mar 2005
Location: singapore
Distribution: puppy and Ubuntu and ... erh ... redhat(sort of) :( ... + the venerable bsd and solaris ^_^
Posts: 658
Blog Entries: 8

Rep: Reputation: 31
playing around with some interative stuffs in bash terminal , i found this :: HowTo: Use tput in a shell data entry system
possible for clueless newbies , they are in 4 parts ...

>> "... is coded with C"
can possibly include this one if you know c :: Bash Dynamically Loadable Built-in Commands


//have fun ...


.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux HA and writing scripts to kill process sceadu Programming 0 07-28-2005 03:27 AM
Scripts to check if a process is running kt8993 Programming 3 07-09-2005 05:32 PM
rss/xml scripts for irc spooge Linux - Networking 0 02-26-2005 12:49 AM
PHP - XML error: junk after document element at line... jimieee Programming 2 04-27-2004 11:16 AM
Reading a xml document: amirspl Programming 3 09-10-2003 07:51 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration