I have an xml file with the structure:
where I want to parse each data pair in the this single file, so something like:
I don't know if I can make an awk loop with a FS of <>, or just use something like:
which works for an individual data pair, but I just don't know how to build the right loop.
Last edited by unclecameron; 12-21-2010 at 03:07 PM..
This User Gave Thanks to unclecameron For This Post:
I need to know the way. I have got parsing down some nodes. But I was unable to get the child node perfectly. If you have code please send it. It will be very useful for me. (0 Replies)
How can I parse file containing xml ?
I am sure that its best to use perl - but my perl is not very good - can someone help?
Example below contents of file containing the xml - I basically want to parse the file and have each field contained in a variable..
ie. I want to store the account... (14 Replies)
Hi,
I have the following file
Example.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<html><set label="09/07/29" value="1241.90"/>
</html>
Can any one help me in parsing this xml file
I want to retrive the attribute values of the tag set
Example I want to... (3 Replies)
Hello all,
Given the following extract from a xml file with multiple <JOB> .... </JOB> entries
<JOB
APPLICATION="APP"
APR="0"
AUG="0"
AUTHOR="AUT"
AUTOARCH="0"
CMDLINE="/tmp/test1 %%var"
CONFIRM="1"
CREATION_DATE="20100430"
CREATION_TIME="130739"
... (2 Replies)
INPUT SAMPLE
Symmetrix ID : 000192601507
Masking View Name : TS00P22_13E_1
Last updated at : 05:10:18 AM on Tue Mar 22,2011
Initiator Group Name : 10000000c960b9cd
Host Initiators
{
WWN : 10000000c960b9cd
}
Port Group Name :... (8 Replies)
we have a CSV which i need to convert to XML using Perl or Unix shell scripting.
I was able to build this XML in oracle database. However, SQL/XML query is running for long time. Hence, I'm considering to write a Perl or shell script to generate this XML file. Basically need to build this XML... (3 Replies)
We got data that was supposed to be CSV, but was sent in a huge XML file.
I've downloaded xmlstarlet, but I'm darned if I can get it to operate the "sel" feature to look down a path and get any sort of value. I see pieces of what should be paths, but they seem to have extraneous characters, and... (7 Replies)
HI
I want to split file base on tag name.
I have few header and footer on file
<?xml version="1.33" encing="UTF-8"?>
<bulkCmConfigDataFile"
<xn:SubNetwork id="ONRM_ROOT">
<xn:MeContext id="PPP04156">
... (4 Replies)
Discussion started by: pareshkp
4 Replies
LEARN ABOUT CENTOS
tpm_createek
tpm_createek(8) System Manager's Manual tpm_createek(8)
TPM Management - tpm_createek
NAME
tpm_createek - create an Endorsement Key Pair on the TPM
SYNOPSIS
tpm_createek [OPTION]
DESCRIPTION
tpm_createek creates and Endorsement Key Pair on the TPM (via the TPM_CreateEndorsementKeyPair API). This should rarely be required as the
Endorsement Key is normally installed as part of manufacturing. However, you might need to run this command once if commands such as
tpm_getpubek are returning error code 35 from the TPM layer.
-h, --help
Display command usage info.
-v, --version
Display command version info.
-l, --log [none|error|info|debug]
Set logging level.
OPTIONS VALID ONLY FOR TPM VERSION 1.2-r, --revocable
Creates a revocable key pair instead of non-revocable one. Requires secret data (either -g -o or -i - see below).
-i, --infile [input file]
Specifies the file that contains the secret data used as revoke data do the new revocable EK pair. Only the first 20 bytes of this
file are used and the remaining ones are ignored.
-g, --generate-secret
Generates a random 20 bytes value that is used as the EK pair revocable secret data. Requires -o (see below).
-o, --outfile [output file]
Specifies the file to write the generated revocable secret data to, for further use.
SEE ALSO tpm_version(1), tpm_getpubek(8), tcsd(8)REPORTING BUGS
Report bugs to <trousers-users@lists.sourceforge.net>
TPM Management 2005-05-05 tpm_createek(8)