summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2009-04-18 15:28:57 +0200
committerdakkar <dakkar@thenautilus.net>2009-04-18 15:28:57 +0200
commit859fb85ae9063926cbdae3d7612a42d5777993a1 (patch)
tree539bf0e7b82d33341b7b295ec12fc5c2a8026e61
parentput proper plans in every test (diff)
downloadTree-Transform-XSLTish-859fb85ae9063926cbdae3d7612a42d5777993a1.tar.gz
Tree-Transform-XSLTish-859fb85ae9063926cbdae3d7612a42d5777993a1.tar.bz2
Tree-Transform-XSLTish-859fb85ae9063926cbdae3d7612a42d5777993a1.zip
clarified docs on factories
-rw-r--r--lib/Tree/Transform/XSLTish.pm4
-rw-r--r--lib/Tree/Transform/XSLTish/Transformer.pm2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/Tree/Transform/XSLTish.pm b/lib/Tree/Transform/XSLTish.pm
index 7053428..3dfb430 100644
--- a/lib/Tree/Transform/XSLTish.pm
+++ b/lib/Tree/Transform/XSLTish.pm
@@ -254,6 +254,10 @@ with the usual Perl inheritance scheme. It should even work with
L<Class::C3>, since we use L<Class::MOP>'s C<class_precedence_list> to
get the list of inherited packages.
+Engine factories are inherited, too, so you can extend a rules package
+without re-specifying the engine (you can, of course, override this
+and specify another one).
+
=head1 AUTHOR
Gianni Ceccarelli <dakkar@thenautilus.net>
diff --git a/lib/Tree/Transform/XSLTish/Transformer.pm b/lib/Tree/Transform/XSLTish/Transformer.pm
index dae5821..857143a 100644
--- a/lib/Tree/Transform/XSLTish/Transformer.pm
+++ b/lib/Tree/Transform/XSLTish/Transformer.pm
@@ -237,7 +237,7 @@ the correct C<rules_package> automatically.
If you don't specify an C<engine>, it will be constructed using the
class or factory declared in the rules package; if you didn't declare
-anything, it will be an instance of L<Tree::XPathEngine>
+anything, it will be an instance of L<Tree::XPathEngine>.
=for comment