|
Subject: [xsl] Re: Dynamic modes: A generic solution From: gutman@xxxxxxxxxxxxxxx Date: Mon, 6 Aug 2001 18:19:31 +0700 |
Hello again.
After rereading my previous message, I have realized that
the code I obtained,
<y:nameX/>
<xsl:template match="y:nameX">
<xsl:param name="context"/>
<xsl:for-each select="$context">
nameX-specific code
</xsl:for-each>
</xsl:template>
is not much simpler than a plain code like this:
<xsl:template match="x:nameX">
<xsl:for-each select="new-context()">
nameX-specific code
</xsl:for-each>
</xsl:template>
Quite the contrary, the latter seems simpler.
So, I guess, my "generic" approach is not intended
for the problem under consideration.
Excuse my stupidity.
--
Alexander E. Gutman
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| [xsl] Dynamic modes: A generic solu, gutman | Thread | [xsl] Creating page breaks in XSLT, Jitt_Joynoosaeng |
| RE: [xsl] Generic template for sele, Michael Kay | Date | [xsl] Creating page breaks in XSLT, Jitt_Joynoosaeng |
| Month |