AxKitMatt Sergeantmatt@axkit.comAxKit.com Ltd
http://axkit.com/
ax_logo.jpegredbg.jpegIntroductionPerl's XML CapabilitiesA long bullet point line for testing the line wrapping capabilities which should make this look OKAxKit static sitesAxKit dynamic sites (XSP)Advanced AxKit
Foo!
XML with Perl IntroductionA very long title that should show how word wrapping in the title tag hopefully works properly todaySAX-like APIregister callback handler methodsstart tagend tagcharacterscommentsprocessing instructions
<?pi here?>
... and moreNon validating XML parserdies (throws an exception) on bad XMLXML::Parser code
my $p = XML::Parser->new(
Handlers => {
Start => \&start_tag,
End => \&end_tag,
# add more handlers here
});
$p->parsefile("foo.xml");
exit(0);
sub start_tag {
my ($expat, $tag, %attribs) = @_;
print "Start tag: $tag\n";
}
sub end_tag {
my ($expat, $tag) = @_;
print "End tag: $tag\n";
}
XML::XPath ImplementationXML::Parser and SAX parsers build an in-memory treeHand-built parser for XPath syntax (rather than YACC based parser)Garbage Collection yet still has circular references (and works on Perl 5.005)ConclusionsPerl and XML are a powerful combinationXPath and XSLT add to the mix...AxKit can reduce your long term costsIn site re-designand in content re-purposingOpen Source equal to commercial alternativesResources and contactAxKit: http://axkit.org/CPAN: http://search.cpan.orglibxml and libxslt: http://www.xmlsoft.orgSablotron: http://www.gingerall.comXPath and XSLT Tutorials: http://zvon.org