06-09-2015
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have an task definition listing xml file that contains a list of tasks such as
<TASKLIST
<TASK definition="Completion date" id="Taskname1" Some other
<CODE name="Code12"
<Parameter pname="Dog" input="5.6" units="feet" etc /Parameter>
<Parameter... (3 Replies)
Discussion started by: MissI
3 Replies
2. Shell Programming and Scripting
Hi All, Prepare a perl script for extracting data from xml file. The xml data look like as
AC StartTime="1227858839" ID="88" ETime="1227858837" DSTFlag="false" Type="2" Duration="303" />
<AS StartTime="1227858849" SigPairs="119 40 98 15 100 32 128 18 131 23 70 39 123 20 120 27 100 17 136 12... (3 Replies)
Discussion started by: allways4u21
3 Replies
3. Windows & DOS: Issues & Discussions
Hello!
I need to rename 400+ xml files. The name of the specific file is contained in a xml tag in the file itself.
The batch file should rename all these files with strings found in xml tags.
Every xml file has the following tags:
<footnote><para>FILENAME</para></footnote> I have to get... (3 Replies)
Discussion started by: degoor
3 Replies
4. Programming
hi,
i have large xml file which contains students information, i need to extract student number and some address tags and create a word document for the extracted data. my data looking llike this
<student>
<number>24</number>
<education>bachelors</education>
... (1 Reply)
Discussion started by: veerubiji
1 Replies
5. Programming
Hi,
I have large xml data file.I need to extract node and some tags in the node and after I need to create word document. my XMl data is look like as below
-<student>
<number>24</number>
<education>bachelor</bachelor>
<specialization>computers</specialization>
... (3 Replies)
Discussion started by: veerubiji
3 Replies
6. Shell Programming and Scripting
Good afternoon!
I have an XML file from which I want to extract only certain elements contained within each line. The problem is that the format of each line is not exactly the same (though similiar). For example, oa_var will be in each line, however, there may be no value or other... (3 Replies)
Discussion started by: bab@faa
3 Replies
7. Shell Programming and Scripting
I've got two different files and want to compare them.
File 1 :
<response ticketId="944" type="getQueryResults"><status>COMPLETE</status><description>Query results fetched successfully</description><recordSet totalCount="1" type="sms_records"><record id="38,557"><columns><column><name>orge... (2 Replies)
Discussion started by: Shaishav Shah
2 Replies
8. Shell Programming and Scripting
Hi..need help on how to extract a particular xml file only from an xml jar file... thanks! (2 Replies)
Discussion started by: qwerty000
2 Replies
9. Shell Programming and Scripting
Hi Everyone,
I'm new here and I was checking this old post:
/shell-programming-and-scripting/180669-splitting-file-into-several-smaller-files-using-perl.html
(cannot paste link because of lack of points)
I need to do something like this but understand very little of perl.
I also check... (4 Replies)
Discussion started by: mcosta
4 Replies
10. Shell Programming and Scripting
Hi,
I'm having a xml file with multiple xml header. so i want to split the file into multiple files.
Sample.xml consists multiple headers so how can we split these multiple headers into multiple files in unix.
eg :
<?xml version="1.0" encoding="UTF-8"?>
<ml:individual... (3 Replies)
Discussion started by: Narendra921631
3 Replies
LEARN ABOUT CENTOS
itstool
ITSTOOL(1) General Commands Manual ITSTOOL(1)
NAME
itstool - convert between XML and PO using ITS
SYNOPSIS
itstool [OPTIONS] [XMLFILES]
itstool -m <MOFILE> [OPTIONS] [XMLFILES]
DESCRIPTION
itstool extracts messages from XML files and outputs PO template files, then merges translations from MO files to create translated XML
files. It determines what to translate and how to chunk it into messages using the W3C Internationalization Tag Set (ITS).
To extract messages from XML files FILES and output them to OUT.pot:
itstool -o OUT.pot FILES
After merging with existing translations or translating strings, generate an MO file with msgfmt(1), then output translated files to the
directory DIR:
itstool -m OUT.mo -o DIR FILES
ITS definitions are loaded from the built-in rules, rules embedded in the source XML files, files passed with the -i option, and ITS
attributes in the source XML files. Later definitions take precedence.
OPTIONS
Extracting
-o FILE
--out=FILE
output PO template to the file OUT
Merging
-m FILE
--merge=FILE
merge from an MO file FILE and output XML files
-l LANG
--lang=LANG
explicitly set the language code output to XML
-o FILE
--out=FILE
output XML files in the directory OUT
Common
-i ITS
--its=ITS
load the ITS rules in the file ITS (can specify multiple times)
AUTHOR
Shaun McCance <shaunm@gnome.org>
SEE ALSO
More documentation for itstool is maintained online. For more information, see:
http://itstool.org/documentation/
itstool 1.2.0 May 2011 ITSTOOL(1)