|
|
 |
Re: FN-FORUM: XML help
date posted 1st December 2005 21:09
Thorny Bird wrote:
>I have two xml files - one is basically a list of items and each list
>element starts with it's own unique ID. The second xml file is also a list
>which has one element I want to combine with the first xml file and again
>the element contains a unique ID. What I want to do is simple enough - when
>the two unique IDs match I want the element from the second file to be added
>to the first file basically concatenating them together when there is a
>match.
>
>I've searched on Google for a likely program but am getting lost with
>finding what I want. Any ideas?
>
>
>
That sounds like the kind of problem that there may not be a program
written specifically to solve, although it would be very simple to write
a program that does solve it.
There may be ways to do it using XSLT - look at the Document() function
[ http://www.xml.com/pub/a/2002/03/06/xslt.html ] - although it is
perhaps more cumbersome to do that way than to just write a Ruby script
or short .Net program to do the same job.
-ben
|
 |
|