Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


NOTATION TYPE

May 3, 1999

The NOTATION type allows an attribute to have a value specified by a notation declared in the DTD in cases in which you want certain consequences to follow from the attribute. These are usually used as triggers such as when you want to specify a given player for a given file type.

Consider the following example:

<?xml version = "1.0" 
         encoding="UTF-8" 
         standalone = "yes"?>
<!DOCTYPE DOCUMENT [
	<!ELEMENT DOCUMENT ANY>
	<!ELEMENT MOVIE EMPTY>
	<!ATTLIST MOVIE SOURCE ENTITY #REQUIRED>
	<!ATTLIST MOVIE PLAYER NOTATION #REQUIRED>
	<!ENTITY BladeRunner SYSTEM "dvds/BR/br.mov">
	<!NOTATION mp SYSTEM "movPlayer.exe">
	]>

<DOCUMENT>
<MOVIE SOURCE = "&BladeRunner;" PLAYER = "mp"/>
</DOCUMENT>

NMTOKEN and NMTOKENS
Introduction to XML For Web Developers | Table of Contents
Entity Declarations


Up to => Home / Authoring / Languages / XML / Tutorials / Intro




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers