Subject: [xsl] Calling a template dynamically From: "Charles Ohana" <cohana@xxxxxxxxxxxxxxx> Date: Fri, 6 Dec 2002 14:29:23 -0500 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] :o) (Re: qualitative decl, Chuck White | Thread | [xsl] Identity of Documents Puzzle, W. Eliot Kimber |
RE: [xsl] :o) (Re: qualitative decl, bryan | Date | Re: the joy of breaking out from pr, Kurt Cagle |
Month |