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

Re: XML Schemas: Best Practices

  • From: Toivo Lainevool <tlainevool@y...>
  • To: xml-dev@l...
  • Date: Fri, 03 Nov 2000 09:17:19 -0800 (PST)

xml editor review

--- "Roger L. Costello" <costello@m...> wrote:
> Below I have listed what I perceive to be the benefits of
> this approach: 
<snip/> 
> - The no-namespace components can assume many different semantics. For
> each schema that <include>s them, they can take on a new role and new
> semantics. 
> 
This seems like it could be a disadvantage. A "semantically aware" processor
would not realize that the elements in the doc actually refer to the same type
of thing. 

As an example, lets say you are looking for a new car and you want to query the
web for cars under $20,000 with a user rating of greater 4 out of 5. Lets say
may search engine find the following two code snippets:

<productinfo xmlns="www.products.com">
   <car>Honda Civic</car>
   <price>$16,000</price>
   ...
</productinfo>

<userreviewsummary xmlns="www.reviews.com">
   <productreviewed><car>Honda Civic</car></productreviewed>
   <rating max="5">4.7</rating>
   ...
</userreviewsummary>

Now one "car" element is in the "www.product.com" namespace and the other is in
the "www.reviews.com" namespace. How is a processor supposed to match these
two?


Toivo Lainevool

__________________________________________________
Do You Yahoo!?
From homework help to love advice, Yahoo! Experts has your answer.
http://experts.yahoo.com/

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.