cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Curro, Joseph" <Joseph.Cu...@time0.com>
Subject RE: One XML -> 2 XSLs
Date Wed, 22 Mar 2000 15:42:18 GMT
Associate the file with multiple stylesheets based on user agent in
processing instructions at the top of your XML document.  You can then pass
user-Agent as a query-string parameter.  So, for example, if you go to the
samples that ship with Cocoon and enter the following:

	
http://localhost/samples/wap/example-portfolio.xml?user-Agent=Nokia-WAP-Tool
kit

you can force the WAP version of the page to be returned.

Cheers.

Joe

-----Original Message-----
From: Sven Kuenzler [mailto:svenk@tzi.de]
Sent: Wednesday, March 22, 2000 10:04 AM
To: cocoon-users@xml.apache.org
Subject: One XML -> 2 XSLs


Hello,

is it possible to attach a XSL file "loosely" to a XML document in order
to create different views of that XML source? It would be nice if I
could specify the XSL viva url, e.g. http:foo.com/todo.xml?xsl=...

   Sven.....

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org

Mime
View raw message