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

FOP calling a template dynamically

Subject: FOP calling a template dynamically
From: "Charles Ohana" <cohana@xxxxxxxxxxxxxxx>
Date: Fri, 6 Dec 2002 14:15:23 -0500
 FOP calling a template dynamically
Hello Friends,
I have an XML document that provides the name of the template to be called .

I'm doing the following without success .
<xsl:template match="/root">
   <xsl:for-each select="/root/data">
      ...
      <xsl:call-template name="../@tplt"   />
      ...
   </xsl:for-each>
</xsl:template>

My XML look like
<root tplt="tp1">
   <data firstname="Chuck" lastname="Ohana" />
   <data firstname="Patrick" lastname="OMalley" />
   <data firstname="Sean" lastname="Donovan" />
</root>


Does anyone know what am I doing wrong

Please Help


 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.