[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Content negotiation in XSLT

Subject: RE: Content negotiation in XSLT
From: "Rushforth, Peter" <prushfor@xxxxxxxxxxx>
Date: Mon, 21 Jul 2008 13:09:44 -0400
RE:  Content negotiation in XSLT
Florent,

This extension function looks really useful.
I'm curious as to why saxon:serialize and saxon:parse are required for
the <body> element?
Should the extension function not be able to avoid their use by
serializing/parsing the request/response internally without the need for
the other extensions?

The use of the the same variable name for global and local had me
confused for a moment -
but as you say you are updating the examples.

Cheers,
Peter

> -----Original Message-----
> From: Florent Georges [mailto:lists@xxxxxxxxxxxx]
> Sent: July 21, 2008 08:45
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Content negotiation in XSLT
>
> Richard Light wrote:
>
>   Hi
>
> > 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.
>
>   If you want to do that for HTTP accesses (I think that can
> be achieved by an HTTP header), and if you are using Saxon,
> you can use my HTTP extension for Saxon:
>
>     http://www.fgeorges.org/xslt/saxon-ext/
>
> (will be updated soon, in particular the examples).
>
>   Regards,
>
> --drkm
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ______________________________________________________________
> _______________
> Envoyez avec Yahoo! Mail. Une boite mail plus intelligente
> http://mail.yahoo.fr

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.