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.