01-28-2011
awk '{print $0}' input.xml gives the whole text in a single line. Hence i guess none of the above codes are working!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have a xml file with below data...have to find the length of the filedvalues...
<?xml version="1.0" encoding="ISO-8859-15" standalone="no"?><abc xmlns:xsi="http://www.w3.org/2000/XMLSchem... (3 Replies)
Discussion started by: naughty21
3 Replies
2. Programming
i have an input file of XML type with data like
<nx-charging:additional-parameter name="NX_INTERNATIONALIZED_CLID" value="919427960829"/><nx-charging:finalStatus>RESPONSE , Not/Applicable , OK</nx-charging:finalStatus></nx-charging:process>
i want to extract data such that i get the output... (3 Replies)
Discussion started by: junaid.nehvi
3 Replies
3. Shell Programming and Scripting
I had an immediate work to sort out the error code and error message which are associated within the log. But here im facing an problem to extract 3 different fields from the XML log can some one please help. I tried using different script including awk & nawk, but not getting the desired output.
... (18 Replies)
Discussion started by: raghunsi
18 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Within a UNIX shell script I need to extract a value from an XML field. The field will contain different values but will always be 6 digits in length. E.g.:
<provider-id>999999</provider-id>
I've tried various ways but no luck. Any ideas how I might get the provider id (in this case... (2 Replies)
Discussion started by: pnclayt11
2 Replies
5. Shell Programming and Scripting
I have the following XML entry - I need to extract the contents of the third defined variable, Asset_Name.
<AMS Asset_Class="package" Asset_ID="XXXXXXXXXXXXXXXXXXXX" Asset_Name="MOVIE_XXXXXXXXXXX_XXXXXXXX" Creation_Date="2011-09-13" Description="test asset package" Product="MOD"... (4 Replies)
Discussion started by: hrr_mute
4 Replies
6. Shell Programming and Scripting
Hi All,
I'm stuck with adding multiple lines(irrespective of line number) to a file before a particular xml tag. Please help me.
<A>testing_Location</A>
<value>LA</value>
<zone>US</zone>
<B>Region</B>
<value>Russia</value>
<zone>Washington</zone>
<C>Country</C>... (0 Replies)
Discussion started by: mjavalkar
0 Replies
7. Shell Programming and Scripting
I've got two different files and want to compare them.
File 1 :
HTML Code:
<response ticketId="944" type="getQueryResults"><status>COMPLETE</status><description>Query results fetched successfully</description><recordSet totalCount="1" type="sms_records"><record... (1 Reply)
Discussion started by: Shaishav Shah
1 Replies
8. Red Hat
i have a xml file and in that input file path is given. how to fetch that input file
path using shell script. (4 Replies)
Discussion started by: ramsavi
4 Replies
9. Shell Programming and Scripting
Hi All,
I am trying to write a shell script which takes parse the web form find the input field and dump the data of that field into one xml file. The form looks like,
<input type="button" id="btnSave" value="Save" onclick="saveXmlData()"/>
<form name="submitForm"... (1 Reply)
Discussion started by: jdp
1 Replies
10. Programming
Hi,
We need to produce a XML file based on a record/field delimited data file. At this point we could just script something out but I would like to ask the community what would be the best choice of programming language to do this, in terms of performance of execution, and in terms of complexity... (9 Replies)
Discussion started by: Indalecio
9 Replies
LEARN ABOUT DEBIAN
tapconvert
TAPCONVERT(1) TAPCONVERT(1)
NAME
tapconvert - convert Twisted configurations from one format to another
SYNOPSIS
tapconvert -i input -o output [-f input-type] [-t output-type] [-d] [-e]
tapconvert --help
DESCRIPTION
The --help prints out a usage message to standard output.
--in, -i <input file>
The name of the input configuration.
--out, -o <output file>
The name of the output configuration.
--typein, -f <input type>
The type of the input file. Can be either 'guess', 'python', 'pickle', 'xml', or 'source'. Default is 'guess'.
--typeout, -t <output type>
The type of the output file. Can be either 'pickle', 'xml', or 'source'. Default is 'source'.
--decrypt, -d
Decrypt the specified tap/aos/xml input file.
--encrypt, -e
Encrypt output file before writing.
--version
Output version information and exit.
AUTHOR
Written by Moshe Zadka, based on tapconvert's help messages
REPORTING BUGS
To report a bug, visit http://twistedmatrix.com/bugs/
COPYRIGHT
Copyright (C) 2000-2008 Twisted Matrix Laboratories.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
July 2001 TAPCONVERT(1)