Iam new to shell script.
How to read xmlfile using shellscript(without awk),and Store record by record in file .
My xml file:
<root>
<header>
<HeaderData1>header1</HeaderData1>
<HeaderData2>header2</HeaderData2>
</header>
<detailsRecord>
... (2 Replies)
I'm trying to write a script to help automate some VERY tedious manual tasks.
I have groups of fairly large XML files (~3mb+) that I need to edit.
I need to look through the files and parse the XML looking for a certain flag contained in a field. If I find this flag (an integer value) I need... (4 Replies)
Hello Everybody,
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)
hi
i am quite new to shell scripting and need help in reading and writing in xml file
i have an xml file with format:
<main>
<store>
<name>ABC</name>
<flag>0</flag>
<size>123<size>
</store>
<store>
<name>DEF</name>
... (2 Replies)
Hi Friends
Im so confused with using 'for' loop in ksh. I have a xml like the following:
<serviceProvider>
<serviceProviderID>1</serviceProviderID>
<serviceProviderName>Balesh</serviceProviderName>
<serviceFeeAmount>30.00</serviceFeeAmount>
</serviceProvider>... (2 Replies)
Hello,
I have a xml file as shown below. I want to parse the file and store data in variables.
xml file looks like:
<TEST NAME="DataBaseurl">jdbc:oracle:thin:@localhost:1521:ora10</TEST>
<TEST NAME="Databaseuser">Pradeep</TEST>
......
and many other such lines
i want to read this file and... (2 Replies)
Hi ,
I have an XML like this.
<Request>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<version>v44</version><messageId>7247308192</messageId><timeToLive>72000000000</timeToLive>
</Request>.
I want to extract on version and messageId.
As in my output... (13 Replies)
Hi ,
I have a file like below.I want all the content in a single line excluding the XML.How can i proceed?
t=21
y=23
rg=xyz
.....
<xmlstarts>
.
.
<xmlends>
lk=99
lo=09 (3 Replies)
Hi,
I have a requirement to extract specific element value dynamically from XML message.
Here is the sample message:
<File>
<List>
<main>
<dir>doc/store834/archive</dir>
<count>5</count>
</main>
<main>
<dir>doc/store834/extract</dir>
<count>6</count>
</main>
<main> ... (3 Replies)
Discussion started by: renukeswar
3 Replies
LEARN ABOUT DEBIAN
xgfmerge
XGFMERGE(1) General Commands Manual XGFMERGE(1)NAME
xgfmerge - merges two Xgridfit program files
SYNOPSIS
xgfmerge [options] file-a file-b [...]
DESCRIPTION
Xgfmerge merges two or more Xgridfit program files, where file-a is a program generated automatically from an existing font using TTX and
ttx2xgf, and file-b and any other files in the list contain other programming for the font. Xgfmerge outputs the merged programming to
stdout. To capture the output in a file, use this syntax:
$xgfmerge -o merged-file.xgf file-a.xgf file-b.xgf
Note: To merge Xgridfit instructions with those already in a font, the best method is now to run Xgridfit in merge-mode (option -m).
OPTIONS -c Look for a <default type="compile-globals"/> element in each file after the first in the list. If value="no" then ignore all
<default>, <control-value>, <function>, <macro> and <pre-program> elements in the file.
-h Display a help message.
-n Merge <no-compile> elements from all files. <glyph> elements with duplicate "ps-name" attributes are ignored.
-o file
The file to write the output to. If this option is not used, output is written to stdout.
-p When a <pre-program> element in a file other than file-a is available, use it instead of the one from file-a. If this option is not
present, xgfmerge merges the programming in the <pre-program> of file-a with that in the <pre-program> of whichever file is being
merged at the moment. The result is unlikely to be good if a single run of xgfmerge merges the contents of more than two <pre-
program> elements.
-s Sort <glyph> elements in the output file into alphabetical order.
-v Verbose output: xgfmerge tells you what it is doing at each step.
-x Resolve XIncludes before merging all files in the list except for file-a. Any XIncludes from file-a.xgf are stripped out of the
files before this operation is performed. If XInclude is used to bring global elements (<control-value>, <function>, etc.) into
these files, it is probably a good idea to use the -c option as well.
FILES
/usr/share/xml/xgridfit/util/merge.xsl
An XSLT script that performs the merge.
/usr/share/xml/xgridfit/util/xinclude.xsl
An XSLT script that strips out unwanted XIncludes.
/usr/share/xml/xgridfit/util/sort-glyphs.xsl
An XSLT script that sorts glyph elements in a file.
/usr/share/xml/xgridfit/utils/add-blanks.sed
Does some formatting of the output.
SEE ALSO xgridfit(1), ttx(1), ttx2xgf(1).
AUTHOR
Xgfmerge was written by Peter Baker <psb6m@virginia.edu>.
This manual page was written by Peter Baker
2009-12-18 XGFMERGE(1)