Archive of UserLand's first discussion group, started October 5, 1998.

Re: suites.bannerAds

Author:Lawrence Lee
Posted:12/10/1998; 9:51:32 AM
Topic:suites.bannerAds
Msg #:1095 (In response to 1094)
Prev/Next:1094 / 1096

From an XML FAQ: http://www.ucc.ie/xml/

C.15 How do I use graphics in XML? ¶ Bob DuCharme adds: All the data in an XML document entity must be parseable XML. You can define an external entity as either a parsed entity (parseable XML) or an unparsed entity (anything else). Unparsed entities can be used for picture files, sound files, movie files, or whatever you like. They can only be referenced from within a document as the value of an attribute (much like a bitmap picture on an HTML Web page is the value of the element's src attribute) and not part of the actual document. In an XML document, this attribute must be declared to be of type ENTITY, and the entity's declaration must specify a declared NOTATION, because if the entity isn't XML, the XML processor needs to know what it is. For example, in the following document, the colliepic entity is declared to have a JPEG notation, and it's used as the value of the empty dog element's picfile attribute.

]>




This page was archived on 6/13/2001; 4:46:27 PM.

© Copyright 1998-2001 UserLand Software, Inc.