XSLT view enhancement
Mike Moulton <[email protected]> Sat, 27 Nov 2004 13:48:28 -0700
| Newsgroups | gmane.comp.web.maverick.general |
|---|---|
| Message-ID | <[email protected]> |
Recently I have had the need to change the content type of the final=20
transform in an xslt view. There are many ways to do this, however I=20
would like to propose an enhancement to the XSLTransform class that=20
would allow the <xsl:output/> element's 'encoding' and 'media-type'=20
properties to set the content type.
For example, this output element:
<xsl:output method=3D"html"
indent=3D"yes"
encoding=3D"UTF-8"
media-type=3D"text/html"
=20
doctype-system=3D"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
doctype-public=3D"-//W3C//DTD XHTML 1.0 Strict//EN" />
would set the content type to 'text/html; charset=3DUTF-8'
Anyone see downsides to this approach?
-- Mike
:=A0 mike moulton
:=A0 meltmedia
:=A0 1429 north 1st street
:=A0 phoenix=A0 az=A0 85004
:
:=A0 [email protected]
:=A0 mmoulton66 | aim
:=A0 602.340.9440 | ofc
:=A0 602.432.2568 | cel
:=A0 602.340.1003 | fax
:
:=A0 meltmedia.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
[INVALID FOOTER]