10 More Discussions You Might Find Interesting
1. Red Hat
Hey , can we read an xml file and make changes in it through shell script.
Thanks (4 Replies)
Discussion started by: ramsavi
2. Shell Programming and Scripting
Hi unix Gurus,
I am really new to Unix Scripting. Please help me to create a shell script which reads the xml file and from that i need to fetch a particular information.
<SOURCE BUSINESSNAME ="" DATABASETYPE ="Teradata" DBDNAME ="DWPROD3" DESCRIPTION ="" NAME... (5 Replies)
Discussion started by: SmilePlease
3. Shell Programming and Scripting
I have a file like below.I want all the content in a single line excluding the XML.How can i proceed?
lo=09 (3 Replies)
Discussion started by: chetan.c
4. Shell Programming and Scripting
I have a file something like this:aaaa.xml content of the file is
0,<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<BRANCH_NAME>GREEN EXPRESS</BRANCH_NAME> ... (4 Replies)
Discussion started by: kmanivan82
5. Shell Programming and Scripting
I have one log file and it contains lot of XML as below.
... (1 Reply)
Discussion started by: murtujak
6. Shell Programming and Scripting
i am quite new to shell scripting and need help in reading and writing in xml file
i have an xml file with format:
... (2 Replies)
Discussion started by: kichu
7. Shell Programming and Scripting
I trying to extract text that is surrounded by xml-tags. I tried this
cat tst.xml | egrep "<SERVER>.*</SERVER>" |sed -e "s/<SERVER>\(.*\)<\/SERVER>/\1/"|tr "|" " "
which works perfect, if the start-tag and the end-tag are in the same line, e.g.:
... (5 Replies)
Discussion started by: Sebi0815
8. Shell Programming and Scripting
I have a question on reading the data from XML file through KSH shell script. In the below file I need to collect the patient control no and its respective insured id. I need to have pair of these values in single line separated by some special character, so that I could use... (2 Replies)
Discussion started by: swame_sp
9. Shell Programming and Scripting
What is a good way to read elements of an xml file? i did try xmllint it doesnt provide a function to output values of a tree. In the below example when i specify from Family2 I need the name of the father then the output should be DAVE. Appreciate any help provided in this regards.
Many... (6 Replies)
Discussion started by: ahmedwaseem2000
10. Shell Programming and Scripting
Iam new to shell script.
How to read xmlfile using shellscript(without awk),and Store record by record in file .
My xml file:
... (2 Replies)
Discussion started by: ram2s2001