|
Perl and XML book: msg#00010lang.perl.xml
Hi All I am reading the PERL & XML Book and playing with the XML::Parser::PerlSAX parser. In Chapter 5 there is an example of a filter using the DTD Handlers that should output an XML instance without changing it.. Using the PERL code from the book and the sample DTD (from O'Reilly's web site) the output from the filter is <?xml version="1.0"?> <!ENTITY thingy "hoo hah blah blah"> <!DOCTYPE book SYSTEM "/usr/local/prod/sgml/db.dtd" [ ]> <book id="mybook"> : : : rather than <?xml version="1.0"?> <!DOCTYPE book SYSTEM "/usr/local/prod/sgml/db.dtd" [ <!ENTITY thingy "hoo hah blah blah"> ]> <book id="mybook"> : : : Can someone explain why this is happening? Thanks Bill Conrad _______________________________________________ Perl-XML mailing list Perl-XML@xxxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Problem with libxml-perl.0.07, Luis Gonçalves |
|---|---|
| Next by Date: | WARNING: gw.activestate.com is blacklisted, Johan Vromans |
| Previous by Thread: | Problem with libxml-perl.0.07, Luis Gonçalves |
| Next by Thread: | WARNING: gw.activestate.com is blacklisted, Johan Vromans |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |