OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Is an element's name metadata?

[ Lists Home | Date Index | Thread Index ]


Given your use of a <reporter> element name here, I can see how one can
view the element name as data rather than metadata. 

Having said that, consider the following alternate representation:

    <Name>John Smith</Name>
    ...more elements here, perhaps address, etc....

In which case "reporter" is data that is described by the metadata

You could also have (I am using a more descriptive element name here
than "reporter"):

<ReporterName>John Smith</ReporterName>

In which "ReporterName" is metadata that describes "John Smith".

So yes, there are multiple ways to think about it - it mostly depends on
how you represent things.

Kind Regards,
Joe Chiusano
Booz | Allen | Hamilton

Gustaf Liljegren wrote:
> I've heard some people say that the markup is by itself metadata, that an
> element's name is metadata, because it describes the element's content:
> <reporter>    <-- This is metadata
> John Smith    <-- This is data
> </reporter>
> Isn't this wrong? Comparing to what I learned from Dublin Core, metadata is
> data too. It's not just the name of a property. I'd say it's the element's
> context that decides whether <reporter> is a data or a metadata element.
> <reporter>    <-- This is just the name of a property
> John Smith    <-- This may be metadata, depending on the element's context
> </reporter>
> Is this the right way to think about metadata in XML?
> Gustaf
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> The list archives are at http://lists.xml.org/archives/xml-dev/
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
tel;work:(703) 902-6923
org:Booz | Allen | Hamilton;IT Digital Strategies Team
adr:;;8283 Greensboro Drive;McLean;VA;22012;
title:Senior Consultant
fn:Joseph M. Chiusano


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS