[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

AW: Dynamic stilesheet assignement

Subject: AW: Dynamic stilesheet assignement
From: "Schmitt, Christian" <Christian.Schmitt@xxxxxxxxxxxxxxxxx>
Date: Mon, 16 Oct 2000 10:39:04 +0200
assignement
Hi Massimo,
we have two stylesheets that are called in sequence. The first stylesheet is
always the same. The secon depends on various things. So in our first
stylesheet we have something like:

<?xml version="1.0"?>
<xsl:stylesheet
  version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:param name="output"/>

  <xsl:template match="/">
    <xsl:processing-instruction name="cocoon-process">
      type="xslt"
    </xsl:processing-instruction>
    <xsl:processing-instruction name="xml-stylesheet">
      type="text/xsl"	
      href="<xsl:value-of select="$output"/>"
    </xsl:processing-instruction>

    <!-- more stuff goes here -->
  </xsl:template>
</xsl:stylesheet>


Hope this helps,
Christian



> -----Ursprüngliche Nachricht-----
> Von: massimo cravero [mailto:mcravero@xxxxxxxxx]
> Gesendet am: Freitag, 13. Oktober 2000 18:13
> An: XSL-List@xxxxxxxxxxxxxxxx
> Betreff: Dynamic stilesheet assignement
> 
> hi.
> 
> i'm trying to build a publishing system via the cocoon
> server.
> 
> i have a number of XML datasheets and XSL
> stylesheeets: how can i dynamically join them each
> other ?
> in other words, how can i dynamically change the
> assignement 
> <?xml-stylesheet type="text/xsl" href="mysheet.xsl"?>
> in the XML file ?
> 
> thanks in advance to everyone.
> 
> 
> 
> =====
> massimo cravero
> mcravero@xxxxxxxxx
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.