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 (July 2004)Back to main MODS pageJoin or leave MODSReplyPost a new messageSearchProportional fontNon-proportional fontLog in
Date:         Tue, 13 Jul 2004 12:06:28 -0400
Reply-To:     Metadata Object Description Schema List <[log in to unmask]>
Sender:       Metadata Object Description Schema List <[log in to unmask]>
From:         Andrew E Switala <[log in to unmask]>
Subject:      Re: inline markup
Comments: To: [log in to unmask]
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline

Hi Bruce, The <xsd:any> schema allows for foreign markup, and only the definition of<extension> uses it in MODS. You have to do something like: <mods> <titleInfo> <title>Some title</title> </titleInfo> <extension> <extitle xmlns="http:whatver">Some <foo>title</foo></extitle> </extension> </mods> So <titleInfo> contains a plain text version of the title, and the rich text version goes in an extension element. --Andy >>> [log in to unmask] 2004-07-13 11:22:47 >>> I find it virtually impossible to read an xml schema, so want to confirm something: Is it the case that things like the title element are defined in such a way that foreign markup can be added? So, the following is valid? <title>some <foo>title</foo></title> I ask because I was recently reminded about this issue of inline markup, and according to my Relax NG-based setup, the above is indeed valid. If that's correct, then perhaps one solution is to use namespaces to handle this. E.g.: <title>some <eb:citedtitle>title</eb:citedtitle></title> <title>some <eb:quote>quote</eb:quote></title> <title>some <eb:soCalled>phrase</eb:soCalled></title> ... and so forth. I still think MODS ought to have a span element for this stuff though. Bruce


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

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