Subject: AW: Dynamic stilesheet assignement From: "Schmitt, Christian" <Christian.Schmitt@xxxxxxxxxxxxxxxxx> Date: Mon, 16 Oct 2000 10:39:04 +0200 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Announcement (repeat): Ottawa-area , G. Ken Holman | Thread | some sample examples needed, suresh talluri |
Announcement (repeat): Ottawa-area , G. Ken Holman | Date | Re: XSL-FO side-region's border que, MURAKAMI Shinyu |
Month |