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

RE: more on "subelement signicance"

  • From: "Bullard, Claude L (Len)" <clbullar@i...>
  • To: Seairth Jacobs <seairth@s...>, xml-dev <xml-dev@l...>
  • Date: Wed, 03 Oct 2001 15:26:50 -0500

RE:  more on "subelement signicance"
It is still *useful* in that it is a well-formed construction 
independent of position in the tree or location in a document 
or namespace.  That is of limited use but real.  It might 
require extra-XML knowledge for example, but spiders that 
troll the net doing indexing might only care about meta tags 
(again, limited but possible).

So cases exist for which simply knowing <a href="stuff" >
is useful.  Context is usually important but the 
rule as stated is too narrow.

len

-----Original Message-----
From: Seairth Jacobs [mailto:seairth@s...]

In an off-list conversation with John Cowan, he had suggested that it was
entirely possible to look for an <xhtml:a> if you were aware of the
namespace, regardless of what the document actually was.  In return, I
argued that the knowledge of the namespace was a sort of validation process
that told you more about the element than the element itself tells.  In the
end, I came up with the following statement:

    "The usefulness of any given subelement is directly proportional to the
the knowledge of its context.  This can either be through an understanding
of the namespace the element is in or by an understanding of its
relationship to its parent element."

In response, John noted:

    "No.  Usefulness may require *some* context or *full* context, depending
on the meaning of the element and the purpose of looking for it. 'Directly
proportional' is far too strong a claim."

He did, however, more or less agree with the second sentance.  So taking
this into account, what about the following "improved" statement?


   The usefulness of any given subelement is due to the knowledge of its
namespace, document type, and/or parent element.  Without any of the three,
the subelement does not have a useful meaning.


Thoughts?

---
Seairth Jacobs
seairth@s...


-----------------------------------------------------------------
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 elist use the subscription
manager: <http://lists.xml.org/ob/adm.pl>

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.