I have some xml files that got created by exporting a website from RedDot. I would like to extract the cost,
course number, description, and meeting information.
<?xml version="1.0" encoding="UTF-16" standalone="yes" ?>
- <PAG PAG0="3AE6FCFD86D34896A82FCA3B7B76FF90" PAG3="525312"... (3 Replies)
Hi All,
I am looking for a awk/shell which can find an element named REFERENCE in a XML file and check whether it is empty or not.
If there is no value in the REFERENCE element then correspondingly move the file to some other folder.
The Unix server is AIX version 4.
Any inputs... (9 Replies)
I have a rather large file with XML-style content. Each line contains one full XML entry. For example:
1:<Message><DNIS>1234</DNIS><UCID>3456</UCID><TransferGroup>XYZXYZ</TransferGroup></Message>
2:<Message><DNIS>9999</DNIS><UCID>2584</UCID><TransferGroup>ABCABC</TransferGroup></Message>... (1 Reply)
Hi, I would need to read an xml element from an xml file to a local variable. Please could you help me with a shell script to get so? Considering that I have a file called file.xml like below:
<header>
<description>This is the description</description>
<content>This is the... (2 Replies)
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)
Any help to extract the root element from an XML file will be appreciated.
Example: test.xml
<?xml version="1.0" encoding="utf-8" ?>
<TestXMLMessage>
<TestRec>
<ID>1000</ID>
</TestRec>
</TestXMLMessage>
Wanted to extract the TestXMLMessage.
Regards,
Chari (6 Replies)
I want to check if every <Part> element has corresponding <Description> in this sample XML.
....<Lot Of XML>
<Inv lineNumber="2">
<Item>
... (4 Replies)
I have this XML file format and all in one line:
Fri Dec 23 00:14:52 2016 Logged Message:689|<?xml version="1.0" encoding="UTF-8"?><PORT_RESPONSE><HEADER><ORIGINATOR>XMG</ORIGINATOR><DESTINAT... (16 Replies)
Discussion started by: mrn6430
16 Replies
LEARN ABOUT DEBIAN
xml::easy::transform
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)