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 ]

Gustaf,

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:

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

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

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>
begin:vcard 
n:Chiusano;Joseph
tel;work:(703) 902-6923
x-mozilla-html:FALSE
url:www.bah.com
org:Booz | Allen | Hamilton;IT Digital Strategies Team
adr:;;8283 Greensboro Drive;McLean;VA;22012;
version:2.1
email;internet:chiusano_joseph@bah.com
title:Senior Consultant
fn:Joseph M. Chiusano
end:vcard




 

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

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