10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have an issue to split the file which is having special chracter(German Char) using awk command.
I have a different length records in a file. I am separating the files based on the length using awk command.
The command is working fine if the record is not having any... (7 Replies)
Discussion started by: Anthuvan
2. Shell Programming and Scripting
I have a text file with sample records as
CASE ID: 20170218881083
Original presentment record for ARN not found
I want to extract the 23 digit number from this file. I thought of using grep but initially couldn't extract the required number. However, after... (16 Replies)
Discussion started by: dsid
3. UNIX for Dummies Questions & Answers
I have a file containing 5 columns delimited by '#' as shown in the example below:
99991231#AU7129#000000000#1 PROCTER & GAMBLE#
99991231#TT4283#1000013884#21121 DISH... (3 Replies)
Discussion started by: chumsky
4. Shell Programming and Scripting
I want to convert 1 xml file to text file....
Please help in the xml file i have 4 columns....
Thanks a lot in advance.
Nilesh (6 Replies)
Discussion started by: nileshbhawsar
5. Shell Programming and Scripting
I have a fixed length text file that needs to be cut into individual files in aix and facing padding issues. If I have multiple blank spaces in the file it is just making it one while cutting the files..
$ - blank space
... (2 Replies)
Discussion started by: techmoris
6. UNIX for Dummies Questions & Answers
I need to convert a file tab delimited/variable length file in AIX to a fixed lenght file delimited by spaces. This is the input file:
And this is the expected... (2 Replies)
Discussion started by: Everton_Silveir
7. Shell Programming and Scripting
Looking for a script to convert my input file to delimited text file. Not familier with AWK or shell programing. Below is sample record in my input file and the expected output format. My OS is HPUX 11.23.
Thanks in advance for your assistance.
input file:... (12 Replies)
Discussion started by: tbtbs
8. Shell Programming and Scripting
Dear Yogesh..."Convert XML file into TEXT file using PERL seript"... can u help me regarding this issue...plz
Rudro (0 Replies)
Discussion started by: Rudro
9. Shell Programming and Scripting
I have below fixed lenth file . I have to convert this to delimitted file.
I want to convert this to :
I have a... (7 Replies)
Discussion started by: satyam_sat
10. Shell Programming and Scripting
If someone out there could help me out with this problem. I would really appreciate it.
I am trying to convert xml into text file(fixed length) using Unix Borne shell scripts.
My xml file:
<country_code>AK></country_code>... (0 Replies)
Discussion started by: ram2s2001
Expat(3) User Contributed Perl Documentation Expat(3)
XML::SAX::Expat - SAX2 Driver for Expat (XML::Parser)
my $h = XML::SAX::MyFooHandler->new;
my $p = XML::SAX::Expat->new(Handler => $h);
This is an implementation of a SAX2 driver sitting on top of Expat (XML::Parser) which Ken MacLeod posted to perl-xml and which I have
It is still incomplete, though most of the basic SAX2 events should be available. The SAX2 spec is currently available from
A more friendly URL as well as a PODification of the spec are in the works.
The methods defined in this class correspond to those listed in the PerlSAX2 specification, available above.
FEATURES AND CAVEATS
* [ Features supported by ancestors ]
Turning one of the first two on also turns the other on (this maps to the XML::Parser ParseParamEnts option). This may be fixed in the
future, so don't rely on this behaviour.
XML::Parser has no listed callbacks for the following events, which are therefore not presently generated (ways may be found in the
* start_entity / end_entity
Ways of signalling them are welcome. In addition to those, set_document_locator is not yet called.
- reuse Ken's tests and add more
Robin Berjon; stolen from Ken Macleod, firstname.lastname@example.org, and with suggestions and feedback from perl-xml. Currently maintained by
Bjoern Hoehrmann, <http://bjoern.hoehrmann.de/>.
COPYRIGHT AND LICENSE
Copyright (c) 2001-2008 Robin Berjon. All rights reserved. This program is free software; you can redistribute it and/or modify it under
the same terms as Perl itself.
perl v5.18.2 2014-01-20 Expat(3)