Ysgrifennodd Bruce D'Arcus:
How about this:
<xsl:template match="invoice">
<xsl:variable name="record" select="invoice_rec/invoiceNumber"/>
<xsl:apply-templates select="invoice_rec"/>
<xsl:apply-templates
select="../invoice_line[invoice_line_rec/invoiceNumber='$record']"/>
...
</xsl:template>
Bruce
Bruce,
Thanks. I think I must be panicking (sp?). I had tried doing the above
but for reasons of deep-rooted stupidity had tried to use
<xsl:value-of...> in the select attribute.
Right. I'm off to play with this with renewed hope :-)
Thanks
Peter
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--