This may be a total XSp newbie (been spending my axkit time in Provider::Filter land), but i can't seem to get me XSP output to come out as anything but text/xml. E.g. given this XSP:
<?xml version="1.0"?> <?xml-stylesheet href="NULL" type="application/x-xsp" ?> <xsp:page xmlns:xsp="http://www.apache.org/1999/XSP/Core" xmlns:util="http://apache.org/xsp/util/v1" > <test> <time> <util:time format="%H:%M:%S"/> </time> </test> </xsp:page>
i do get
<?xml version="1.0" encoding="UTF-8"?> <test><time>23:33:28</time></test>
but axkit sends it out as content-type text/html instead of text/xml.. Anyone know how to change that?
IIRC this is a "feature". You'll either have to set it in the XSP (in a <xsp:logic> section, by calling $r->content_type("text/xml")) or add an XSLT stage that sets it via the xsl:output tag.
Matt.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]