Only output trigger 'scope' if it's set in YAML and JSON producers
[dbsrgits/SQL-Translator.git] / lib / SQL / Translator / Producer / XML.pm
index c6a9f36..584690f 100644 (file)
@@ -1,33 +1,35 @@
 package SQL::Translator::Producer::XML;
 
-# -------------------------------------------------------------------
-# $Id: XML.pm,v 1.13 2003-08-21 00:48:01 kycl4rk Exp $
-# -------------------------------------------------------------------
-# Copyright (C) 2003 Allen Day <allenday@ucla.edu>,
-#                    Ying Zhang <zyolive@yahoo.com>
-#
-# 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
-# -------------------------------------------------------------------
+=pod
+
+=head1 NAME
+
+SQL::Translator::Producer::XML - Alias to XML::SQLFairy producer
+
+=head1 DESCRIPTION
+
+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 SEE ALSO
+
+SQL::Translator::Producer::XML::SQLFairy.
+
+=head1 AUTHOR
+
+Ken Youens-Clark E<lt>kclark@cpan.orgE<gt>.
+
+=cut
 
 use strict;
-use vars qw[ $VERSION $DEBUG ];
-$VERSION = sprintf "%d.%02d", q$Revision: 1.13 $ =~ /(\d+)\.(\d+)/;
+use warnings;
+our $DEBUG;
+our $VERSION = '1.59';
 $DEBUG = 1 unless defined $DEBUG;
 
 use SQL::Translator::Producer::XML::SQLFairy;
 
-*parse = \&SQL::Translator::Producer::XML::SQLFairy::parse;
+*produce = \&SQL::Translator::Producer::XML::SQLFairy::produce;
 
 1;