Strip evil svn:keywords
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Producer / XML.pm
index c6645d9..6cb7b27 100644 (file)
@@ -1,53 +1,55 @@
 package SQL::Translator::Producer::XML;
 
-#-----------------------------------------------------
-# $Id: XML.pm,v 1.2 2002-03-21 18:50:53 dlc Exp $
+# -------------------------------------------------------------------
+# $Id: XML.pm 1440 2009-01-17 16:31:57Z jawnsy $
+# -------------------------------------------------------------------
+# Copyright (C) 2002-2009 SQLFairy Authors
 #
-# File       : SQL/Translator/Producer/XML.pm
-# Programmer : Ken Y. Clark, kclark@logsoft.com
-# Created    : 2002/02/27
-# Purpose    : XML output
-#-----------------------------------------------------
+# 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; version 2.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307  USA
+# -------------------------------------------------------------------
 
-use strict;
-use vars qw( $VERSION );
-$VERSION = sprintf "%d.%02d", q$Revision: 1.2 $ =~ /(\d+)\.(\d+)/;
+=pod
 
-use XML::Dumper;
+=head1 NAME
 
-sub produce {
-    my ( $self, $data ) = @_;
-    my $dumper = XML::Dumper->new;
-    return $dumper->pl2xml( $data );
-}
-
-1;
-#-----------------------------------------------------
-# The eyes of fire, the nostrils of air,
-# The mouth of water, the beard of earth.
-# William Blake
-#-----------------------------------------------------
-__END__
+SQL::Translator::Producer::XML - Alias to XML::SQLFairy producer
 
+=head1 DESCRIPTION
 
-=head1 NAME
+Previous versions of SQL::Translator included an XML producer, but the 
+namespace has since been further subdivided.  Therefore, this module is 
+now just just an alias to the XML::SQLFairy producer.
 
-SQL::Translator::Producer::XML - XML output
+=head1 SEE ALSO
 
-=head1 SYNOPSIS
+SQL::Translator::Producer::XML::SQLFairy.
 
-  use SQL::Translator::Producer::XML;
+=head1 AUTHOR
 
-=head1 DESCRIPTION
+Ken Y. Clark E<lt>kclark@cpan.orgE<gt>.
 
-Blah blah blah.
+=cut
 
-=head1 AUTHOR
+# -------------------------------------------------------------------
 
-Ken Y. Clark, kclark@logsoft.com
+use strict;
+use vars qw[ $DEBUG ];
+$DEBUG = 1 unless defined $DEBUG;
 
-=head1 SEE ALSO
+use SQL::Translator::Producer::XML::SQLFairy;
 
-perl(1).
+*produce = \&SQL::Translator::Producer::XML::SQLFairy::produce;
 
-=cut
+1;