10 More Discussions You Might Find Interesting
1. 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
2. Shell Programming and Scripting
I am trying to create a shell script that will parse an xml file (file attached).
awk '/Id v=/ { print }' Test.xml | sed 's!<Id v=\"\(.*\)\"/>!\1!' > output.txt
An output.txt file is created but it is empty. It should contain the value 222159 in it. Thanks. (7 Replies)
Discussion started by: cmccabe
7 Replies
3. Shell Programming and Scripting
HI Guys
I have Below XML File :
<xn:SubNetwork id="XYZ">
<xn:SubNetwork id="C01">
<xn:MeContext id="CO1">
<xn:ManagedElement id="1">
<un:RncFunction id="1">
<un:UtranCell id="NY431">
... (2 Replies)
Discussion started by: pareshkp
2 Replies
4. Programming
How do I get the field info for tags ID, NAME, DESCRIPTION. Below is my current code put I can't get beyond the first_child of the file.
use strict;
use warnings;
use XML::Simplehttp://images.intellitxt.com/ast/adTypes/icon1.png;
use... (1 Reply)
Discussion started by: leemalloy
1 Replies
5. UNIX for Advanced & Expert Users
Hi,
I'm trying to write a script for some xml file handling, but I'm not getting too far with it.
I've got the following xml content
<?xml version="1.0" encoding="UTF-8"?>
<Test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<Operation name="OPER1">
<Action name="ACTION1">... (2 Replies)
Discussion started by: Juha
2 Replies
6. AIX
Hi All,
I am facing dependency on AIX :confused:.I am trying to run an script which requires PERL MODULE (XML::DOM) to be installed. Please find the attached file which shows the error i am getting (cant locate XML/DOM.pm in @INC).
Please let me know how to install PERL MODULE (XML::DOM)
... (3 Replies)
Discussion started by: srivatsa86
3 Replies
7. Shell Programming and Scripting
Hi,
I have to make an script according to these:
- I have couples of files like:
xxxxxxxxxxxxx.csv
xxxxxxxxxxxxx_desc.xml
- every xml file has diferent fields, but keeps this format:
........
<defaultName>2011-02-25T16:43:43.582Z</defaultName>
........... (2 Replies)
Discussion started by: Pluff
2 Replies
8. Programming
First, I am sorry if this question not this room scope,
I have a XML file :
file: book.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<bookstore>
<book category="COOKING">
<title lang="en">Everyday Italian</title>
<author>Giada De Laurentiis</author>
<year>2005</year>
... (3 Replies)
Discussion started by: penyu
3 Replies
9. Emergency UNIX and Linux Support
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)
Discussion started by: Raji_gadam
3 Replies
10. 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
XML::Easy::Transform(3pm) User Contributed Perl Documentation XML::Easy::Transform(3pm)
NAME
XML::Easy::Tranform - XML processing with a clean interface
DESCRIPTION
The "XML::Easy::Transform::" namespace exists to contain modules that perform transformations on XML documents, or parts thereof, in the
form of XML::Easy::Element and XML::Easy::Content nodes.
XML::Easy is a collection of modules relating to the processing of XML data. It includes functions to parse and serialise the standard
textual form of XML. When XML data is not in text form, XML::Easy processes it in an abstract syntax-neutral form, as a collection of
linked Perl objects. This in-program data format shields XML users from the infelicities of XML syntax. Modules under the
"XML::Easy::Transform::" namespace operate on XML data in this abstract structured form, not on textual XML.
A transformation on XML data should normally be presented in the form of a function, which takes an XML::Easy::Element node as its main
parameter, and returns an XML::Easy::Element node (or "die"s on error). The input node and output node each represent the root element of
the XML document (or fragment thereof) being transformed. These nodes, of course, contain subordinate nodes, according to the structure of
the XML data. A reference to the top node is all that is required to effectively pass the whole document.
OTHER DISTRIBUTIONS
CPAN distributions under this namespace are:
XML::Easy::Transform::RationalizeNamespacePrefixes
Manages XML Namespaces by hoisting all namespace declarations to the root of a document.
SEE ALSO
XML::Easy
AUTHOR
Andrew Main (Zefram) <zefram@fysh.org>
COPYRIGHT
Copyright (C) 2009, 2010, 2011 Andrew Main (Zefram) <zefram@fysh.org>
LICENSE
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2011-11-16 XML::Easy::Transform(3pm)