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

Re: dynamically applying templates

Subject: Re: dynamically applying templates
From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Mon, 13 Sep 2004 13:48:09 -0400
Re:  dynamically applying templates
On Sep 13, 2004, at 12:00 PM, Wendell Piez wrote:

At 01:27 PM 9/11/2004, you wrote:
I had thought it might be nice to able to name each template and
somehow apply those in the above, but nothing I try seems to be valid
(e.g. I can't get away with <xsl:apply-templates
name="$source/*[node-name(.) = node-name(current())]">).

No, you can't do this. (I assume you meant xsl:call-template name="..."/>.) But you could apply-templates select="..." to that node, and have a template to match it ... (in a mode if necessary).

Not following you here Wendell. Can you please give me a bit more to chew on? I'm not really clear how to apply the above to my problem (that what I'm apply-templates to and matching against in my bib data is not the same thing as my config file).


Bruce

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.