cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Newland" <>
Subject apply <?cocoon-process type="xsp"?> to an XSL?
Date Mon, 05 Jun 2000 15:12:12 GMT

Is it possible to write <xsp:logic> tags into an XSL file and add
<?cocoon-process type="xsp"?> to the top of the file to allow conditional
sections in XSL stylesheets.

I would like to be able to do something like:

<?cocoon-process type="xsp"?>

<xsl:template match="effect">

		if (<xsl:value-of select="@effect"/>.equals("bold")) {
		else {


I would imagine that the XSL would undergo an XSP processing step to produce
the completed XSL and this would then be applied to the XML document using
an XSLT processing step.

Is this within the realms of possibility?



Chris Newland 
Software Research Engineer 
Advanced IP Services and Management 
Nortel Networks, London Road, Harlow, Essex, CM17 9NA. 
Tel:   +44(0)1279 405165 
Fax:   +44(0)1279 402047 
"This message may contain information proprietary to Nortel Networks 
so any unauthorised disclosure, copying or distribution of its 
contents is strictly prohibited." 
Company name: Nortel Networks plc
Company number: 2515751
Company's registered office address: Maidenhead Office Park, 
Westacott Way, Maidenhead, Berkshire SL6 3QH.

View raw message