Subject: Re: [xsl] using variable in mode attribute From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 10 Jan 2003 17:22:10 -0500 |
I have the following code which does not work. if I replace the mode="$BID" with mode="id1" in line 4, it works. so my question is does the mode attribute take a variable?
if it does not, what should I do?
<xsl:template match="B[@id = 'id1']" mode="id"> ... </xsl:template>
<xsl:template match="B[@id = 'id2']" mode="id"> ... </xsl:template>
<xsl:template match="id('id1')" mode="id"> ... </xsl:template>
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx 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 ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] using variable in mode at, Niko Matsakis | Thread | [xsl] grouping node-sets in an exte, Carl Yu |
Re: [xsl] grouping node-sets in an , G. Ken Holman | Date | [xsl] Re: grouping node-sets in an , Carl Yu |
Month |