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  

media expressions christian
  • From: christian@xxxxxxxxxxxxxx
  • To: users@xxxxxxxxxxxxxxxx
  • Subject: media expressions
  • Date: Mon, 21 Mar 2005 17:23:32 +0100 (CET)


  • Hello

    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?
    Thanks, Christian

      Powered by Sympa