This is the mail archive of the xsl-list@mulberrytech.com mailing list .
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi Joerg, Thank you very much. It works, but I'd like to understand it.<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, but the rest of the expression is still baffling to me: select="$data/@*[name()=current()/@dbcolumn]" Can you explain what it does, please? Thanks, John Sands
-- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@virbus.de www.virbus.de XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |