Subject: Re: [xsl] Conditional use of <xsl:apply-imports> or <xsl:import> XSLT 2.0 From: "Vladimir Nesterovsky" <vladimir@xxxxxxxxxxxxxxxxxxxx> Date: Sat, 12 Jul 2008 18:02:45 +0300 |
3. Finally, is this a correct method to approach?
It does not appear on the surface to be incorrect. On the other hand, you haven't provided many particulars.
<xsl:variable name="selector" as="element"> <xsl:element name="{define a selector here}"/> </xsl:variable>
<xsl:template match="article/meta/journalcode[.='ABCD' | 'EFGH' | 'IJKL' | 'LMNO']">
<xsl:apply-templates select="$context-item"/> </xsl:template>
<xsl:apply-templates select="$context-item"/> </xsl:template>
-- Vladimir Nesterovsky
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Conditional use of <xsl:a, Pankaj Chaturvedi | Thread | [xsl] Test post, Aaron Gray |
[xsl] Test post, Aaron Gray | Date | [xsl] Combining two XBEL XML files, Aaron Gray |
Month |