1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
Description: Fix POD errors
Move documentation for xsl_output_method method to the right place. This fixes
the following POD errors in lib/XML/XSLT.pm:
.
Around line 880:
’=item’ outside of any ’=over’
.
Around line 3581:
You forgot a ’=back’ before ’=head1’
Author: Ansgar Burchardt <ansgar@43-1.org>
Reviewed-By: Xavier Guimard <x.guimard@free.fr>
Last-Update: 2013-03-09
--- a/xslt-parser
+++ b/xslt-parser
@@ -45,6 +45,8 @@
simply append `.xsl' to the project name to get the stylesheet. A
different stylesheet can be specified using this option.
+=back
+
=head1 AUTHORS
Geert Josten <gjosten@sci.kun.nl>,
--- a/lib/XML/XSLT.pm
+++ b/lib/XML/XSLT.pm
@@ -877,13 +877,6 @@
}
}
-=item xsl_output_method
-
-Get or set the <xsl:output method= attribute. Valid arguments are 'html',
-'text' and 'xml'
-
-=cut
-
sub xsl_output_method
{
my ( $self, $method) = @_;
@@ -3739,6 +3732,11 @@
=back
+=item xsl_output_method
+
+Get or set the <xsl:output method= attribute. Valid arguments are 'html',
+'text' and 'xml'
+
=item toString
Returns the result of transforming the XML with the stylesheet as a
|