[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] Return XML instead of HTML


Hello,

I am trying to return XML output, instead of the default HTML. I am having
some difficulty and tried the following code with no success:


	#$xml is defined earlier
	$self->header_props(-type=>'text/xml');
	return $xml;


Any help will be appreciated.

Roy


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.