Subject: Re: Content negotiation in XSLT
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Sat, 19 Jul 2008 21:20:10 +0100
|
>>>>> "Richard" == Richard Light <richard@xxxxxxxxxxxxxxxxx> writes:
Richard> More generally, it occurred to me that it would make
Richard> sense for XSLT processors to include "Accept: text/xml"
That should read:
"Accept: application/xml"
as an XSLT processor is not a human.
As for your idea, I have thought about this in the past. It would need
to be more general - that is, the programmer ought to be able to
specify what types to accept.
One possible way to do this would be through user-defined data elements.
--
Colin Adams
Preston Lancashire
|