use Test;
BEGIN { plan tests => 6 }
use XML::LibXSLT;
use XML::LibXML;
my $parser = XML::LibXML->new();
ok($parser);
my $doc = $parser->parse_string(<<'EOT');
EOT
ok($doc);
my $xslt = XML::LibXSLT->new();
my $style_doc = $parser->parse_string(<<'EOT');
;
str:tokenize('2001-06-03T11:40:23', '-T:')
;
str:tokenize('date math str')
;
EOT
ok($style_doc);
# warn "Style_doc = \n", $style_doc->toString, "\n";
my $stylesheet = $xslt->parse_stylesheet($style_doc);
ok($stylesheet);
my $results = $stylesheet->transform($doc);
ok($results);
my $output = $stylesheet->output_string($results);
ok($output);
# warn "Results:\n", $output, "\n";