What is a Compound Document?
Dare , > I don’t think schema validation has much to do with the notion of > compound documents. Compound documents are about combining elements from > multiple vocabularies yet preserving the semantics from each vocabulary > in a way that allows one to fit together the parts to make a coherrent > whole. The classic example is embedding MathML in XHTML. Whether xs:any > is used to specify extension points or not is’nt the tricky bit or even > the interesting bit about compound documents. It is very painful to revise existing schemas for allowing foreign elements. NVDL (the immediate predecessor is NRL by James Clark) allows you to validate documents containing such foreign elements without revising existing schemas. More about this, see the documents below: > > – Opening keynote speech for SVG Open 2004 (MURATA Makoto) > http://www.asahi-net.or.jp/~eb2m-mrt/svgopen/ > > – Namespace Routing Language (James Clark) > http://www.thaiopensource.com/relaxng/nrl.html > > – XML 2003 session re
Hi Folks, I am still unclear on what a compound document is. 1. What is a compound document? A compound document is an XML document comprised of elements from independently developed schemas. For example, an XML document that is comprised of elements from the SVG schema and elements from the XHTML schema is a compound document. 2. How is this different from an instance document that conforms to an XML Schema that uses the
Simply put, a compound document is a mixture of content in any number of formats. Compound documents range from static (say, XHTML that includes a simple SVG illustration) to very dynamic (a full-fledged Web Application). A compound document may include its parts directly (such as when you include an SVG image in an XHTML file) or by reference (such as when you embed a separate SVG document in XHTML using an
Compound documents are document files that contain several different types of data as well as text. A compound document may include graphics, spreadsheets, images, or any other non-text data. The additional data may be embedded into the document or be linked data that is resident within the application. One of the more commonly employed examples of a compound document is the slide presentation. Slides included in the presentation normally include a number of other audio and visual elements along with the text. For example, a given slide within the presentation may include an image along with the text or feature some type of animation or soundtrack that triggers when the slide is loaded for viewing. In all examples of the compound document, there is a mixture of original data that is created within the document and data that is collected from different sources and inserted into the body of the document. An easy way to understand the compound document is to think of inserting a picture i