XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Typeless Schemas and Services
Subject: Anonymous Complex Types
Date: 2003-09-24 01:05:38
From: milton reynolds

Can you elaborate on what you mean by "inlining the data definition"; I'm intrigued by this use of xml schema, but having a hard time fully getting my head around the benefit.

No Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First
  • Anonymous Complex Types
    2003-09-24 06:58:37 Rich Salz [Reply]

    Sure; it's also called "Russian Doll" design in certain cases; see http://www.xml.com/pub/a/2000/11/29/schemas/part1.html


    Don't define types, only define elements, and either "inline" those elements directly within the containing element (as shown above), or use the "ref" item to do the equivalent of #include. :)


Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938