|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: FOP calling a template dynamically
Nope! doesn't work but thanks for trying to help .
----- Original Message -----
From: "Noel Golding" <noel@xxxxxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, December 06, 2002 2:16 PM
Subject: Re: FOP calling a template dynamically
> not tested but you could try
>
> <xsl:call-template name="{../@tplt}" />
>
> ----- Original Message -----
> From: "Charles Ohana" <cohana@xxxxxxxxxxxxxxx>
> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
> Sent: Friday, December 06, 2002 2:15 PM
> Subject: 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
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








