cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "K. Ari Krupnikov" <...@iln.net>
Subject Re: dynamic XML-XSLT association
Date Tue, 18 Apr 2000 08:43:12 GMT
I'm sorry. I missformulated my question. I want the user to be able to select
either of the available stylesheets.
There should be two different links on an html page the user sees:

<a href="myDoc.xml?myStyle.xsl">one veiw</a>
<a href="myDoc.xml?myOtherStyle.xsl">another veiw</a>

This question popped up in cocoon-users, but I didn't find a suitable answer in
the archives.

Sean Champ wrote:
> 
> hi.
> 
> maybe this will work?
> :
> 
> <xsl:include href="yourStyle.xsl"/>
> 
> (haven't tried it yet, here. and not sure if it's in-synch with what you
> were looking for,
> but this is where I found it, if it helps:
>   http://www.w3.org/TR/xslt#include  )
> 
> "K. Ari Krupnikov" wrote:
> >
> > How can I tell Cocoon, short of including a <?xml-stylesheet ..?> PI, which
> > stylesheet to use?
> >
> > I want to be able to say something like    href="myDoc.xml?myStyle.xsl"
> >
> > Ari Krupnikov

Mime
View raw message