Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Mon, 14 Jul 2008 10:58:19 +0100,    group: microsoft.public.xsl        back       


Content negotiation in XSLT   
Can XSLT 2.0 do content negotiation?  Looking at the Linking Open Data 
work, it seems to me that it would be useful if XSLT processors could 
specify in the document() function that what they want is, for example, 
application/rdf+xml.  Then they could be served the RDF version of a 
Semantic Web resource, rather than the HTML "human-readable" version.

There are words in section 16.1 of the XSLT 2.0 spec about media types, 
but it isn't clear to me that they extend to being able to specify which 
media type you want.  I would be delighted to be put right on this one.

Richard Light
-- 
Richard Light
XML/XSLT and Museum Information Consultancy
richard@light.demon.co.uk
date: Mon, 14 Jul 2008 10:58:19 +0100   author:   Richard Light

Re: Content negotiation in XSLT   
Richard Light wrote:
> 
> Can XSLT 2.0 do content negotiation?  Looking at the Linking Open Data 
> work, it seems to me that it would be useful if XSLT processors could 
> specify in the document() function that what they want is, for example, 
> application/rdf+xml.  Then they could be served the RDF version of a 
> Semantic Web resource, rather than the HTML "human-readable" version.
> 
> There are words in section 16.1 of the XSLT 2.0 spec about media types, 
> but it isn't clear to me that they extend to being able to specify which 
> media type you want.  I would be delighted to be put right on this one.

Consider to ask on the XSL mailing list 
http://www.mulberrytech.com/xsl/xsl-list/

-- 

	Martin Honnen --- MVP XML
	http://JavaScript.FAQTs.com/
date: Mon, 14 Jul 2008 13:14:29 +0200   author:   Martin Honnen

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us