Subject: RE: RE: [xsl] Join XMLs with XLST with ralative data From: Jarno.Elovirta@xxxxxxxxx Date: Mon, 9 Jun 2003 14:04:01 +0300 |
Hi, [snip] > so based on suggestion I have modified my xslt to : > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> > <xsl:key name="rows-bstkcode" match="name" > use="bstkcode"/> > <xsl:variable name="x_22" > select="document('22.xml')"/> > <xsl:variable name="buy22" > select="document('buy22.xml')"/> > <xsl:template match="/"> > <tran> > <xsl:for-each > select="$x_22/STKAVAILABLE/STKMAST"> > <xsl:variable name="STKCODE1" > select="@STKCODE"/> > <xsl:for-each select="$buy22/buyermaster"> > <stock> > <stockcode> <xsl:value-of > select="$STKCODE1" /></stockcode> > <xsl:for-each > select="key('rows-bstkcode',$STKCODE1)"> > <xsl:copy> > > <xsl:copy-of > select="bstkcode"/> this should be <xsl:copy-of select="@*" Cheers, Jarno - Funker Vogt: Vision XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: RE: [xsl] Join XMLs with XLST w, Americo Albuquerque | Thread | RE: RE: [xsl] Join XMLs with XLST w, Mangesh Kakade |
[xsl] How to give Dynamic Hyperlink, krishnas | Date | RE: [xsl] Calling a vbscript functi, Dave Bartmess |
Month |