Subject: Re: [xsl] Correlation between two xml trees From: Antonio Fiol <fiol@xxxxxxxxxx> Date: Thu, 06 Jun 2002 14:00:43 +0200 |
Probably you have not fully understood (catching that was difficult to me) that what you are assigning to the variable "data" is the node-set specified by ".".
<xsl:template match="z:row">
<data>
<xsl:variable name="data" select="."/>
<xsl:for-each select="$outputdef/root/column">
<xsl:element name="{@tagname}">
<xsl:value-of select="$data/@*[name()=current()/@dbcolumn]"/>
</xsl:element>
</xsl:for-each>
</data>
</xsl:template>
I understand the use of the xsl:variable,
Then you are selecting:but the rest of the expression is still baffling to me:
select="$data/@*[name()=current()/@dbcolumn]"
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Correlation between two x, John Sands | Thread | Re: [xsl] Correlation between two x, John Sands |
Re: [xsl] Oracle XSLT & TrAX, Steve Muench | Date | [xsl] Determining if an element exi, mgleahy |
Month |