In the case of a date functioning as both contextual data title/date, I
prefer the wrapping of <unitdate> within <unittitle>. I think every
component needs basic contextual information and "nothing means
something" (i.e. its lacking a <unittitle> means to infer that
information from the parent component instead of the <unittitle> is
missing) can be a little dangerous, if not difficult to parse and
repurpose. I find date to be an integral part of a title or basic
component description. And if I know that every component has a
<unittitle>, I know when I re-purpose my data (which I do), that I'm
going to get contextual information for every component when I include
<unittitle>. If we don't know what information or elements to expect at
each component level, things could get quite messy because we don't know
which information is most important.
On 3/23/2012 2:42 PM, Ashley Knox wrote:
> What is the consensus on date fields being wrapped inside of title
> fields, especially when the title of a folder IS a date? (specifically
> in a container list)
> <unittitle> Bills and Receipts,
> <date normal="1850/1859" type="inclusive">1850-1859</date>
> <date calendar="gregorian" normal="1980/1985" era="ce">1980-1985</date>
> All of this being related to the effect on searching in a database
> (built in a mysql database). I've been told that this will hinder
> searching and that it needs to change, that title and date need to
> separate into their own respective fields. I'm working in AT. Would I
> just not have folder titles, but dates instead?
> I would love to hear opinions on the pros and cons of mysql databases
> vs. xslt styling as well, if anyone would like to comment.
> Thanks for any and all comments!
> Ashley Knox
> Project Manager
> USC Digital Collections