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

Simple Question

  • To: xml-dev@l...
  • Subject: Simple Question
  • From: Ramkumar Menon <ram.menon@o...>
  • Date: Tue, 11 Nov 2003 10:31:54 +0530
  • User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01

what is a simple question
I appologize if this is the wrong place to send this question.

My question is:

What was the fundamental motivation for having attributes in an XML 
Document ? Whatever that can be contained in an attribute of an element 
can be contained within a sub element. If I model an XML Document as a 
Java object, would I need to distinguish between the elements and 
attributes ? Moreover, why was it decided that attributes can only be of 
a simple type ?

thanks,
Ram



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.