[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Is an element's name metadata?


element s name
Gustaf Liljegren <gustaf.liljegren@b...> writes:

> 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.

This is backward. You can't reverse-engineer an existing document
(type) to determine what is meta and what is not. People who talk
about markup as metadata talk about /designing/ document (types). You
can first decide what in your model is data and what meta, then make
data the content and meta the markup.

It also depends on what your relation to the document is, not only wrt
what parts of the document you are interested in (as others have
mentioned), but also wrt your position in the stack. If you are an
XSLT processor, the distinction makes no sense at all, the entire
source document is data for you. If you are a MIME message with a
multipart attachment with an XML document inside it, the multipart has
the document's metadata (e.g encoding), the message has the
multipart's metadata (from), and the envelope has the message's
metadata (receipt-to); each treat its content as obscure data.

Ari.

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.