Login 
 
 Pref   Your subscriptions   Home   Help 
dev@ml.mod-xslt2.com
mod-xslt2 - Development Mailing List
   
 
List info
 
 
 
Subscribe
 
 
Unsubscribe
 
 
Archive
 
 
Post
 



Advanced search
2004 01 02 03 04 05 06 07 08 09 10 11 12
2005 01 02 03 04 05 06 07 08 09 10 11 12
2006 01 02 03 04 05 06 07 08 09 10 11 12
2007 01 02 03 04 05 06 07 08 09 10 11 12
2008 01 02 03 04 05 06 07 08 09 10 11 12

       Chronological   next            Thread   next  

media-type isn't changing latypoff
  • From: latypoff@xxxxxxxxx
  • To: dev@xxxxxxxxxxxxxxxx
  • Subject: media-type isn't changing
  • Date: Mon, 4 Jul 2005 16:00:24 +0700
  • Organization: ITPremium
  • Reply-to: latypoff@xxxxxxxxx


  • Hello, dev.

    I am started to use mod-xslt2 yesterday, before I was using mod_xslt
    by Philipp Dunkel (http://sourceforge.net/projects/mod-xslt) for about
    year. I was adapted all xsl sources to new module, it is works
    properly right, but content-type of docs is always text/xml, while
    meadia-type is text/html

    My configuration:
    Apache2.0.54
    modxslt-2005052601 (cvs snapshot)

    apache config:

    <IfModule !modxslt.c>
    LoadModule mxslt_module modules/mod_xslt.so
    </IfModule>
    [...]
    <VirtualHost [...]>
    [...]
    <IfModule modxslt.c>
    AddType text/xsl xsl
    AddType text/xml xml
    AddOutputFilterByType mod-xslt text/xml
    </IfModule>
    [...]
    </VirtualHost>


    xsl-header:

    <xsl:stylesheet extension-element-prefixes="mxslt"
    xmlns:mxslt="http://www.mod-xslt2.com/ns/1.0";
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    xmlns="http://www.w3.org/1999/xhtml";
    version="1.0">

    <xsl:output
    method="xml"
    encoding="utf-8"
    media-type="text/html"
    doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
    doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";
    indent="yes"/>



    --
    BR,
    Denis F. Latypoff mailto:latypoff@xxxxxxxxx


      Powered by Sympa