Re: processing xml-files in cgi-environment

2006-08-11 Thread Dr.Ruud
"Dr. Claus-Peter Becke" schreef: > if ($Q::xmldatei ne '') > { > $dom_parser = new XML::DOM::Parser; > $doc = $dom_parser->parsefile("$Q::xmldatei"); > print$q->hr; > print$doc->toString; > print$q->hr; > > the instruction print $doc->toString display

processing xml-files in cgi-environment

2006-08-11 Thread Dr. Claus-Peter Becke
dear members, i'm using xml::dom E.Ray's/J.McIntosh's XML&Perl book offers( i'm reading the german edition) a few examples. one of them in chapter 7 deals with processing an xhtml-file. i have substituted the xhml-file by a wellformed and valid xml-file. starting the perlscript bsp00_dom1.