cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Cordes <mcord...@maine.edu>
Subject Re: Dynamically choosing XSL
Date Tue, 17 Oct 2000 18:31:52 GMT
Oops. I'm missing a ".  That should be 

<xsp:pi target="xml-stylesheet">href="<xsp:expr>request.getParameter(
"stylesheet")</xsp:expr>" type="text/xsl"</xsp:pi>

and I just have it within my xml file.  I don't see how it mixes logic
with content any more than the standard PI

<? xml-stylesheet href="stylesheet.xsl" type="text/xsl" ?>

does.

-matt


On Tue, Oct 17, 2000 at 02:29:40PM -0400, Christian Hargraves wrote:
> > <xsp:logic>
> > ...
> >
> > <xsp:pi target="xml-stylesheet">href="<xsp:expr>request.getParameter(
> "stylesheet")</xsp:expr>" type="text/xsl</xsp:pi>
> >
> > ...
> > </xsp:logic>
> >
> > -matt
> 
> And I put this in the XML or in it's own XSP lib? I feel uncomfortable about
> putting that in my XML. Now, I'm mixing logic with content instead of logic
> with presentation.
> 
> Thanks so much for your reply. It helped a lot. I have one more question,
> but I will save that for later as I might figure it out while implementing
> this ..
> 
> Thanks again
> Christian
> 
> 
> ---------------------------------------------------------------------
> 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