"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 displays the whole tree on the
> commandline. using the same instructions in a web-environment using
> the cgi-module you only get the content of the elements. does anybody
> know the reason why?

Did you also look at the source of the page?
In FireFox: Ctrl-U (or menu:View/Page Source).

Consider CGI::Pretty::AS_IS.

-- 
Affijn, Ruud

"Gewoon is een tijger."



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to