package SQL::Translator::Producer::XML;
-#-----------------------------------------------------
-# $Id: XML.pm,v 1.1.1.1 2002-03-01 02:26:25 kycl4rk Exp $
-#
-# File : SQL/Translator/Producer/XML.pm
-# Programmer : Ken Y. Clark, kclark@logsoft.com
-# Created : 2002/02/27
-# Purpose : XML output
-#-----------------------------------------------------
-
-use strict;
-use SQL::Translator::Producer;
-use vars qw( $VERSION );
-$VERSION = (qw$Revision: 1.1.1.1 $)[-1];
-
-use XML::Dumper;
-
-use base qw[ SQL::Translator::Producer ];
-
-sub to { 'XML' }
-
-sub translate {
- 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
-#-----------------------------------------------------
+=pod
=head1 NAME
-SQL::Translator::Producer::XML - XML output
+SQL::Translator::Producer::XML - Alias to XML::SQLFairy producer
-=head1 SYNOPSIS
+=head1 DESCRIPTION
- use SQL::Translator::Producer::XML;
+Previous versions of SQL::Translator included an XML producer, but the
+namespace has since been further subdivided. Therefore, this module is
+now just an alias to the XML::SQLFairy producer.
-=head1 DESCRIPTION
+=head1 SEE ALSO
-Blah blah blah.
+SQL::Translator::Producer::XML::SQLFairy.
=head1 AUTHOR
-Ken Y. Clark, kclark@logsoft.com
+Ken Youens-Clark E<lt>kclark@cpan.orgE<gt>.
-=head1 SEE ALSO
+=cut
-perl(1).
+use strict;
+use warnings;
+our $DEBUG;
+our $VERSION = '1.59';
+$DEBUG = 1 unless defined $DEBUG;
-=cut
+use SQL::Translator::Producer::XML::SQLFairy;
+
+*produce = \&SQL::Translator::Producer::XML::SQLFairy::produce;
+
+1;