Skip
repetitive navigational links
L-Soft  -  Home of  the  LISTSERV  mailing list  manager LISTSERV(R) 14.5
Skip repetitive navigational links
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (January 2005)Back to main MODS pageJoin or leave MODSReplyPost a new messageSearchProportional fontNon-proportional fontLog in
Date:         Thu, 27 Jan 2005 13:24:19 -0500
Reply-To:     Metadata Object Description Schema List <[log in to unmask]>
Sender:       Metadata Object Description Schema List <[log in to unmask]>
From:         Nathan L Trail <[log in to unmask]>
Subject:      Re: why is mods allowed as root?
Comments: To: [log in to unmask], Ray Denenberg <[log in to unmask]>, [log in to unmask]
Content-Type: multipart/alternative;

From an XSL processing standpoint, it doesn't matter if the root is "mods" or "modsCollection". I use <apply-templates select="descendant-or-self::mods:mods"/>,and it processes as many mods records as there are, skipping modsCollection if need be. _______________________________________ Nate Trail Digital Project Coordinator Network Development & MARC Standards Office Library of Congress 202-707-2193 [log in to unmask] >>> [log in to unmask] 1/27/2005 1:08:37 PM >>> From: "Bruce D'Arcus" <[log in to unmask]> > It's just that both of these are valid: > > <modsCollection xmlns="http://www.loc.gov/mods/v3"> > <mods> > ... > </mods> > </modsCollection> > > <mods xmlns="http://www.loc.gov/mods/v3"> > ... > </mods> Ok, I see. Mods defines both the "mods record" and "mods collection" where the latter is a collection of records. (So <mods> or <modsCollection> can be the root, for a mods record or mods collection respectively.) A solution (to the apparent complexity and confusion that this causes) is to define a separate schema for modsCollection. We did discuss this long ago and decided it wasn't necessary, but I wouldn't object to revisiting this. You could propose it for version 4. Another suggestion has been to dissalow <mods> as a root, so that <modsCollection> would wrap even a single mods record. I would oppose this approach but would not oppose a separate schema. --Ray


[text/html]


Back to: Top of message | Previous page | Main MODS page

LISTSERV.LOC.GOV CataList email list search Powered by LISTSERV email list manager