in reply to Re: SAX Filter: 2to1 and 1to2
in thread SAX Filter: 2to1 and 1to2

Yep, sure does. This is generated from XML::Generator::DBI
<?xml version="1.0" encoding="UTF-8"?> <database> <select query="select * from songs limit 3"> <row> <id>1</id> <title>Spanish Fly</title> <artist>Van Halen</artist> <album>Van Halen II</album> <year>1979</year> <genre>Rock &amp; Roll</genre> </row> <row> <id>2</id> <title>Beautiful Girls</title> <artist>Van Halen</artist> <album>Van Halen II</album> <year>1979</year> <genre>Rock &amp; Roll</genre> </row> <row> <id>3</id> <title>Dance The Night Away</title> <artist>Van Halen</artist> <album>Van Halen II</album> <year>1979</year> <genre>Rock &amp; Roll</genre> </row> </select> </database>
The errors for a non-existant file are:
# for SAX1toSAX2: Couldn't open oops: No such file or directory at /usr/lib/perl5/site_perl/5.6.0/XML/Parser/PerlSAX.pm line 146 # for SAX2toSAX1: Could not create file parser context for file 'oops' : No such file or directory at /usr/lib/perl5/site_perl/5.6.0/i386-linux/XML/LibXML.pm line 351. at /usr/lib/perl5/site_perl/5.6.0/i386-linux/XML/LibXML/SAX/Parser.pm line 37

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)