cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcello Granata" <mgran...@matrix.it>
Subject xml, html and wml
Date Mon, 31 Jan 2000 14:39:31 GMT
Hi!
I have a simple problem:
I'd like to apply a different xsl to an xml document in orde to obtain html or wml output.
Do oyu know if there is a particular syntax that tells cocooon to do this?
I'm looking at the example included with cocoon; it starts this way:

<?xml version="1.0"?>
<?xml-stylesheet href="portfolio.html.xsl" type="text/xsl"?>
<?xml-stylesheet href="portfolio.wml.xsl" type="text/xsl" media="wap"?>
<?cocoon-process type="xslt"?>

Cocoon uses always the first xsl. I tried with the following code: "....portfolio.xml?media=wap"
with no result.

Anyone can help me?

thanks

° Marcello

Mime
View raw message