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)
Hi! I'm just new here and don't know much about shell scripting. I just want to ask for help in creating a shell script that will parse a string or value of the status in the xml file. Please sample xml file below. Can you please help me create a simple script to get the value of status? Also it... (46 Replies)
Hi All,
I have been working on something that doesn't seem to have a clear regex solution and I just wanted to run it by everyone to see if I could get some insight into the method of solving this problem.
I have a flat text file that contains billing records for users, however the records... (5 Replies)
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)
Enclosed is comma separated text file. I need to write a korn shell program that will parse the text file and insert the values into Oracle database.
I need to write the korn shell program on Red Hat Enterprise Linux server.
Oracle database is 10g. (15 Replies)
Hi All,
I need to parse some statistic data from the "measInfo" -eg. 25250000 (as highlighted) and return the result into line by line, and erasing all other unnecessary info/tag.
Thought of starting with grep "measInfoID="25250000" but this only returns 1 line. How do I get all the output... (8 Replies)
Hello !
I am very aware that this is not the first time this question is asked here, because I have already read a lot of previous answers, but none of them worked, so...
As said in the title, I want to read a csv file with a bash script.
Here is a sample of the file:
... (4 Replies)
Hi All,
Hope all you are doing good! Need your help. I have an XML file which needs to be converted CSV file. I am not an expert of awk/sed so your help is highly appreciated!!
XML file looks like this:
<l:event dateTime="2013-03-13 07:15:54.713" layerName="OSB" processName="ABC"... (2 Replies)
Hello gurus,
I have a csv file with bunch of datas in each column. (see attached)
Now I have an .xml file in the structure of below:
?xml version="1.0" ?>
<component id="root" name="root">
<component id="system" name="system">
<param name="number_of_A" value="8"/>
... (5 Replies)
Discussion started by: Zam_1234
5 Replies
LEARN ABOUT DEBIAN
config::any::xml
Config::Any::XML(3pm) User Contributed Perl Documentation Config::Any::XML(3pm)NAME
Config::Any::XML - Load XML config files
DESCRIPTION
Loads XML files. Example:
<config>
<name>TestApp</name>
<component name="Controller::Foo">
<foo>bar</foo>
</component>
<model name="Baz">
<qux>xyzzy</qux>
</model>
</config>
METHODS
extensions( )
return an array of valid extensions ("xml").
load( $file )
Attempts to load $file as an XML file.
requires_all_of( )
Specifies that this module requires XML::Simple and XML::NamespaceSupport in order to work.
CAVEATS
Strict Mode
If, by some chance, XML::Simple has already been loaded with the strict flag turned on, then you will likely get errors as warnings will
become fatal exceptions and certain arguments to XMLin() will no longer be optional.
See XML::Simple's strict mode documentation for more information.
AUTHORS
Brian Cassidy <bricas@cpan.org>
Joel Bernstein <rataxis@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2006-2011 by Brian Cassidy
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
o Catalyst
o Config::Any
o XML::Simple
perl v5.14.2 2011-07-04 Config::Any::XML(3pm)