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

xml schema best practices question.. one big xml or lots of littlecompon

  • To: xml-dev@l...
  • Subject: xml schema best practices question.. one big xml or lots of littlecomponents?
  • From: Leevi Graham <leevi@t...>
  • Date: Sat, 16 Apr 2005 12:40:49 +1000
  • Organization: The Leviathan Project
  • Reply-to: leevi@t...
  • User-agent: Mozilla Thunderbird 0.7.2 (Windows/20040707)

xml schema best practices question.. one big xml or lots of littlecompon
hi guys this is my first post to this dev-list... hopefully it wont be 
the last...

i have a aquestion that has been bugging me for quite some time..

i am attempting to create a business directory with xml as data storage.

i wish to create business elements that contain the obvious 
information.. address, contact location etc...

however the business type may change from retail to professional to 
hosplitality....mainly hospitality like pubs and restaraunts..

so finally here is my question:

*lets say i have a business element that is a restaraunt and that 
restauraunt obviously has a menu.. should i include the menu as a child 
element of the business or should i create a seperate xml file called 
menus. Also if I do create a menus.xml file that contains the menus 
seperatley how will i be able to tell which menu belongs to which 
restaraunt..*

things to consider my businesses.xml file may eventually contain many 
businesses with many menus....

hopefully someone can help
cheers

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.