[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [office-metadata] existing fields
Although I don't want to exclude existing metadata fields I would like to remind us that it's not easy to do both a flexible and specific approach at the same time. Let me clarify. I believe there's a requirement that asks for asymmetric metadata. At the very least we need to strip out all metadata from a document. If we use only the specific attributes, then we can easily do that with an XSLT. However, if we start using custom metadata attributes we run into problems of maintenance of such transformations. If we were to start with a fixed list of attributes, we can make special cases for them, but I can see it getting ugly and not staying fixed. For example, we can say that: <text:p meta:about="event1"> The party will start at <text:time text:time-value="15:05Z">5 past 3</text:date> on <text:date text:date-value="2006-12-12">saturday</text:date> at <text:span meta:property="location">my house.</text:span> </text:p> tranforms into: <text:p meta:about="event1"> The party will start at <text:time property="text:time-value" content="15:05Z">5 past 3</text:date> on <text:date property="text:date-value" content="2006-12-12">saturday</text:date> at <text:span meta:property="location">my house.</text:span> </text:p> That's what I'm thinking when I mean support specific attributes, any more than that I don't have a solution to deal with any random number of metadata attributes and specific ones in a genreal way. -Elias "Bruce D'Arcus" <bruce.darcus@OpenDocument.us> wrote on 12/04/2006 12:06:53 PM: > > On Dec 4, 2006, at 11:56 AM, Bruce D'Arcus wrote: > > > Re: discussion of dates and metadata, it's worth remembering that ODF > > already has some existing metadata fields, including text:date. > > Though, somewhat oddly, there is a separate text:time element (why not > text:date-time?). That becomes a little awkward with Elias' example. > Dunno; maybe could be this in ODF (1.2): > > <text:p meta:about="event1"> > The party will start at <text:time > text:time-value="15:05Z">5 past 3</text:date> on <text:date > text:date-value="2006-12-12">saturday</text:date> at <text:span > meta;property="location">my house.</text:span> > </text:p> > > Not sure about the datatypes for text:time. > > Bruce >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]