This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Joining two XML-files
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] Joining two XML-files
- From: "Jorge Bello" <jnbello at ptq dot pemex dot com>
- Date: Fri, 19 Oct 2001 08:13:42 -0500
- References: <002001c157f2$039abfe0$0100007f@PCUKMKA>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Michael Kay wrote:
> Actually, the best solution is to join the tables while they are still in
a
> relational database, rather than doing it with XSLT. Relational databases
> are usually quite good at joins (they get a lot of practice).
>
> If you must do it in XSLT, set up an xsl:key definition to define the join
> attribute in one file, and use the key() function while processing the
other
> file to bring in the matching record(s). You'll need to use the document()
> function to reference the second file.
>
Mike:
Thanks for your response, definitely I can't use databases for this.
Would you be kind enough to send me a URL where I can find
more information or some examples ?
(I'm waiting the "XSLT Reference" from Amazon)
TIA,
Jorge Bello
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list