Ron Coleman's used the XSL file to format a collection of MARC-XML
records. Unfortunately, that surfaced a bug that expected the record to
be the top level in the file. I fixed that in the XSL, and made the XML
files collections instead of individual records, so that the
mudlumps.xml file has all 17 'mudlumps' records in WorldCat, including
the Japanese record.
--Th
-----Original Message-----
From: Hickey,Thom
Sent: Tuesday, March 28, 2006 9:37 AM
To: 'Code for Libraries'
Subject: RE: [CODE4LIB] compact display for marc-xml
Maybe this will help. Here are some pointers to an updated set of files
(still far from ready for prime-time, but at least the Japanese record
displays). The two .xml test file URLs seem to work, at least in IE.
http://outgoing.typepad.com/code/marcdisplay/compact.20060328.tgz the
compressed tarball of the following files:
http://outgoing.typepad.com/code/marcdisplay/compact.xsl the XSL file
http://outgoing.typepad.com/code/marcdisplay/compact.css the CSS file
http://outgoing.typepad.com/code/marcdisplay/mudlumps.xml Simple test
file
http://outgoing.typepad.com/code/marcdisplay/mudlumps.jpn.xml Test for
880 fields
I rearranged the XSL to accommodate bringing in the linked vernacular
880 fields as needed. This pushes some of the formatting selection into
the CSS file by just generating CSS classes based on the MARC field tag.
--Th
-----Original Message-----
From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
Alexander Johannesen
Sent: Monday, March 27, 2006 11:46 PM
To: [log in to unmask]
Subject: Re: [CODE4LIB] compact display for marc-xml
On 3/28/06, Hickey,Thom <[log in to unmask]> wrote:
> I've attached a compressed tar file of compact.xsl, compact.css and
> mudlumps.xml, a test record. After you've extracted the files to a
> directory you should be able to view mudlumps.xml with a browser and
see
> the results.
I'd like to have a look and help out, but could you post it non-tar'ed
and possibly non-zip'ed? My gmail is barfing, and WinZip coughs and
splutters. :)
Alex
--
"Ultimately, all things are known because you want to believe you know."
- Frank Herbert
__ http://shelter.nu/ __________________________________________________
|