xmlfilter.pl - A command line client program using Net::DRI towards the .NO EPP registry.
This program is a small filter utility which acts an xml_pp (pretty-print) function for the xml-dump output coming from Net::DRI Transport.pm log function.
The format in input is a long line like this:
"2008-02-20 10:22:19.092865 C<=S [SOCKET_INET-92047-1203499339055994]\ <?xml version="1.0" encoding="UTF-8" standalone="no" ?><epp xmlns=" .\ .....</epp>"
This filter separates the date/time part and the xml-part and prints a pretty-print of the xml.
if the -s (skip) option is set, it suppresses the greeting, login and logout sequences.
Copyright (c) 2008 UNINETT Norid AS, <http://www.norid.no>, Trond Haugen <email@example.com> All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
See the LICENSE file that comes with this distribution for more details.
Trond Haugen, <firstname.lastname@example.org>