Re: [xsl] @method ; @media-type

Subject: Re: [xsl] @method ; @media-type
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 29 Jun 2005 15:31:58 +0100
media-type has no effect (I would guess) if you are generating result
_files_ (and in any case it doesn't affect the way the result is
serialised) It just affects the media type that is used if the result is
sent via some api (eg returned as a result of an http request) rather
than stored on the file system.

The method attribute has an effect on elements in that certain html
elements get special treatment in html method, and all elements are
dropped in text method.

The method attribute affects character data in that &-escaping will be
used for characters not in the encoding in html or xml method, but
unencoded characters will generate an error in text output. Aloso html
entity references may be used in html output.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread