Bruce,
I'm saying, in effect, there's nothing preventing you from selecting nodes
in your config file, and matching them with templates, to achieve "dynamic
template selection" if you want.
Cheers,
Wendell
At 01:48 PM 9/13/2004, you 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).
======================================================================
Wendell Piez
mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc. http://www.mulberrytech.com
17 West Jefferson Street Direct Phone: 301/315-9635
Suite 207 Phone: 301/315-9631
Rockville, MD 20850 Fax: 301/315-8285
----------------------------------------------------------------------
Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================