10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all, here is the sample log file and these errors are repeated in log file..
i need all the repeated time stamp ,severity and message tags needs to print in output file.. through shell script
<log-message>
<timestamp>2019-03-13T04:52:49.648-05:00</timestamp>
<severity>ERROR</severity>... (17 Replies)
Discussion started by: ravi
17 Replies
2. Shell Programming and Scripting
Hi All,
We need to split a large xml into multiple valid xml with same header(2lines) and footer(last line) for N number of letterId.
In the example below we have first 2 lines as header and last line as footer.(They need to be in each split xml file)
Header:
<?xml version="1.0"... (5 Replies)
Discussion started by: vx04
5 Replies
3. 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.
For example
<SOURCE BUSINESSNAME ="" DATABASETYPE ="Teradata" DBDNAME ="DWPROD3" DESCRIPTION ="" NAME... (5 Replies)
Discussion started by: SmilePlease
5 Replies
4. Shell Programming and Scripting
Hi Experts,
Can you please help me to split following XML file based on new Order ? Actual file is very big. I have taken few lines of it.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Orders xmlns='http://www.URL.com/Orders'>
<Order>
<ORDNo>450321</ORDNo>
... (3 Replies)
Discussion started by: meetmedude
3 Replies
5. Shell Programming and Scripting
Hi,
I had a scenario need a help as I am new to this. I have a xml file employee.xml with the below content.
<Organisation><employee>xxx</employee><employee>yyy</employee><employee>zzz</employee></Organisation>
I want to split the file into multiple file as below. Is there a specifice way... (5 Replies)
Discussion started by: mankuar
5 Replies
6. Shell Programming and Scripting
Hello,
I have a custom background in my Fedora 14 OS. which changes every 10 mins, I was able to edit an Xml file for this purpose. The structure of the Xml file looks as follows :
<!-- This animation will start at time shown above. -->
<static>
<duration>600.0</duration>
... (3 Replies)
Discussion started by: ajayram
3 Replies
7. Shell Programming and Scripting
Hi Everybody,
I have an XML file containing some data and i want to extract it, but the specific issue in my file is that the data is repeated some times like the following example :
<section1>
<subsection1>
X=...
Y=...
Z=...
<\subsection1>
<subsection2>
X=...
Y=...
Z=...... (2 Replies)
Discussion started by: yassine
2 Replies
8. Shell Programming and Scripting
I have an xml file:
<AutoData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Table1>
<Data1 10 </Data1>
<Data2 20 </Data2>
<Data3 40 </Data3>
<Table1>
</AutoData>
and I have to remove the portion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" only.
I tried using sed... (10 Replies)
Discussion started by: Gary1978
10 Replies
9. Shell Programming and Scripting
hi all ,
i have a shell script that performs all the steps required for deployment of a tar file ..
there is a tool that helps me in finding out what files should go in that tar file... this tool is fully in xml as it invokes ant ( a build tool in java )....
i want to invoke that xml file from a... (1 Reply)
Discussion started by: sais
1 Replies
10. UNIX for Dummies Questions & Answers
hi all,
forgive me if this question is not relevant to this section.
i have a shell file that will automatically deploy the files that are necessary and will compile them. i need to automate this management process through cruise control, for this i need to know whether it is possible for me to... (2 Replies)
Discussion started by: sais
2 Replies