Re: XML question from a newbie

From: Don Hamilton <dhamilton_at_nyob>
Date: Wed, 25 Mar 2009 13:44:41 -0400
To: NGC4LIB_at_LISTSERV.ND.EDU
Hi. 
 
Assuming windows, and all files are in a directory with nothing else, open a 'dos window' (start/run/cmd), go to the directory where your files are stored, and type
 
copy *.* alltogether
 
and hit enter. You should get all files concatenated into one file named alltogether...
 
If it's *nix, then 'cat * > alltogether' will do the same thing.
 
To just do some of the files, copy file1 fil2 file3 ... filen file1ton or cat file 1 file2 file3 > file1to3.
 
don
 


>>> "Keenan, Teressa" <teressa.keenan_at_MSO.UMT.EDU> 25-03-2009 12:01:03 PM >>>

I'm hoping there's someone out there who's done this before and can
help.  I am taking a large number of Dublin Core records and
crosswalking them to MARC so we can include them in our catalog.  I have
about 6000 xml files that each contain about 35 records.  I've got the
conversion from DC to MARC figured out using an xslt file and MarcEdit
software.  What I'd like to do is combine some of the xml files so I
have fewer files to work with each containing more records.  Is there
some scripting or some other computer magic that I could use to do that.
I manually copied and pasted a couple of files using notepad++ just as
an experiment.  And while that worked it is not really a feasible option
with the number of files I have.

Does anyone have any suggestions?

Teressa
Received on Wed Mar 25 2009 - 13:46:51 EDT