RE: [xsl] Process output from imported stylesheet?

Subject: RE: [xsl] Process output from imported stylesheet?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 10 Mar 2004 22:36:39 -0000
I think you would find it worthwhile studying the FXSL technique pioneered
by Dimitre Novatchev. This uses apply-templates rather than call-template
for the dynamic call; you steer it dynamically to call a particular template
by supply a node that matches that template only.

Michael Kay

# -----Original Message-----
# From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-
# list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Magnus Teo
# Sent: 10 March 2004 19:15
# To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
# Subject: [xsl] Process output from imported stylesheet?
# 
# Goodday, this is my first post and i've spent the night looking through
# the
# FAQs, archives and elsewhere to no avail. Appreciate any pointers!
# 
# I'd like to be able to control which named templates to call, so I read
# the
# template names from an XML file. Since it's not possible to call-template
# dynamically with params or variables (xsl:choose enumeration would be my
# last resort), I'd like to modify the principal stylesheet before running
# it.
# Is it possible to loop the results of the XML file and use xsl:element to
# create xsl:call-template in a secondary XSL, then have the primary XSL
# import or include it, thereafter process the output as it was embedded at
# runtime? Have tried but all efforts came up blank, I'm using Sablotron.
# 
# Thank you.
# M
# 
# _________________________________________________________________
# Download games, logos, wallpapers and lots more at MSN Mobile!
# http://www.msn.com.sg/mobile/
# 
# 
#  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