Login 
 
 Pref   Your subscriptions   Home   Help 
users@ml.mod-xslt2.com
mod-xslt2 - Users 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

  previous   Chronological   next       previous   Thread   next  

Re: [mod-xslt users] media expressions Carlo Contavalli
  • From: Carlo Contavalli <ccontavalli@xxxxxxxxxxx>
  • To: users@xxxxxxxxxxxxxxxx
  • Subject: Re: [mod-xslt users] media expressions
  • Date: Sat, 26 Mar 2005 01:17:37 +0100
  • References: <sympa.1111421825.7434.661@ml.mod-xslt2.com>


  • On Mon, Mar 21, 2005 at 05:23:32PM +0100, christian@xxxxxxxxxxxxxx wrote:
    > I want to see the source of an XML file when I browse to
    > http://crppwww.epfl.ch/~slater/xslt/dinaitersource2.xml?action=showsource
    >
    > but I want to translate it using mod-xslt2 when I open
    > http://crppwww.epfl.ch/~slater/xslt/dinaitersource2.xml?action=translate
    >
    > In the dinaitersource2.xml I set
    >
    > <?modxslt-stylesheet
    > type="text/xsl"
    > media="screen and '$GET[action]' == 'showsource'"
    > alternate="no"
    > title="Show raw source of the XML file"
    > charset="ISO-8859-1"?>
    > <?modxslt-stylesheet
    > type="text/xsl"
    > href="./dina2htm.xsl"
    > media="screen and '$GET[action]' == 'translate'"
    > alternate="no"
    > title="Translation using default stylesheet"
    > charset="ISO-8859-1"?>
    >
    > but this doesn't work. What am I doing wrong?
    uhm ... seems courious to me :) it looks like it should work.
    Ok, let's see if I can reproduce the problem and if it
    is a bug or I just can't remember the correct usage :)

    If you have further news, please let us know :)

    Cheers,
    Carlo

    --
    GPG Fingerprint: 2383 7B14 4D08 53A4 2C1A CA29 9E98 5431 1A68 6975
    -------------
    As of next Tuesday, C will be flushed in favor of COBOL.
    Please update your programs.

      Powered by Sympa