[Home] [By Thread] [By Date] [Recent Entries]

  • To: 'Jeffrey Fitzgerald' <mailgroups@j...>, xml-dev@l...
  • Subject: RE: What's the point of customizing element tags?
  • From: "Bullard, Claude L (Len)" <clbullar@i...>
  • Date: Wed, 17 Sep 2003 09:36:18 -0500

It enables you to denote that regardless of how many  
times and different technologies you use to build a 
an application, you are building the same application. 
The costs will reflect precisely your ability to 
abstract that application from the technology you 
use each time to implement it.

A Contacts list is a Contacts list is a Contacts list....

len

From: Jeffrey Fitzgerald [mailto:mailgroups@j...]
	
	Obviously a question from an XML newbie...

	But what is the point of custom naming xml elements when they are
not 
accessed in an OOP manner?
	Here is what I mean:

	<newbie>
	    <question>
                       <whatsUp>Whats the point</whatsUp>
	    </question>
	</newbie>
	
	My understanding is that you don't access the contents using syntax
like: 
newbie.question.whatsUp.value, but rather an obscure
childNodes[0].childNodes[0].childNodes[0].nodeValue (not even sure if that 
is right). But in any case, if you don't use the custom names
then why not do:

	<blah>
               <blah>
                   <blah>...

	Thanks for enlightening me :-)...


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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member