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

What is the use of non-leafElement' VALUE ?

  • To: "XML Developers List" <xml-dev@l...>
  • Subject: What is the use of non-leafElement' VALUE ?
  • From: "Saha Rabindra N" <saha.rn@m...>
  • Date: Thu, 26 May 2005 16:00:02 -0400
  • Importance: normal
  • Priority: normal
  • Thread-index: AcViKvgtLuCQ1MLgRMKNh8fWh9x98QAAOnTA
  • Thread-topic: Call for Participation: W3C Workshop on XML Schema 1.0 User Experiences

employmentstatus
Title: What is the use of non-leafElement' VALUE ?

Hi,
  I have one generic question on XML structure [XML element].
If an XML element represents an object then element's attributes would be properties of that object.
Then any subelement [be it leaf or non-leaf] would represent the hierarchy of the objects [containment].
If the element is a leaf node then that element's value will be meaning full.
BUT if the element is not a leaf node then what is the BUSINESS/Real-life meaning of having value in that element ?
My understanding is that an element's attributes and its sub-elements are enough to represent an object.

Example :
<?xml version="1.0" encoding="ISO-8859-1"?>
<employmentDetails>
 Some value
<EmployerID>097</EmployerID>
<EmploymentStatus>Active</EmploymentStatus>
<AnnualCompensation>$100000</AnnualCompensation>
</employmentDetails>

What is the business meaning of allowing element value for non-leaf element in XML W3C standards.

Thanks in advance for sharing your thoughts/inputs/ideas.


Regards,
RNS

 
The information contained in this e-mail may be confidential and is intended solely for the use of the named addressee.
Access, copying or re-use of the e-mail or any information contained therein by any other person is not authorized.
If you are not the intended recipient please notify us immediately by returning the e-mail to the originator.(17b)
 

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.