[Home] [By Thread] [By Date] [Recent Entries]


Here you are (section on Default Attributes):

http://www.w3.org/TR/REC-xml#sec-attr-defaults

Kind Regards,
Joe Chiusano
Booz | Allen | Hamilton

"Marker, Mike" wrote:
> 
> How would I apply a default value of "image/tiff", though?
> 
> -----Original Message-----
> From: Chiusano Joseph [mailto:chiusano_joseph@b...]
> Sent: Thursday, June 05, 2003 4:18 PM
> To: Marker Mike
> Cc: 'xml-dev@l...'
> Subject: Re:  Forming a MIME_TYPE Attribute list
> 
> Mike,
> 
> I think an internal entity will work for this [1].
> 
> Kind Regards,
> Joe Chiusano
> Booz | Allen | Hamilton
> 
> [1] http://www.w3.org/TR/REC-xml#intern-replacement
> 
> > "Marker, Mike" wrote:
> >
> > In the process of defining a DTD, I would like to create an attribute
> > list containing the following values - text/html, application/pdf,
> > image/tiff.
> >
> > The following does not work:
> >
> > <!ATTLIST MIME_TYPE value (text/html | application/pdf | image/tiff)
> > "image/tiff">
> >
> > due to the '/' characters.
> >
> > Would anyone know of the appropriate way for me to setup this element?
> >
> >     ---------------------------------------------------------------
> > -----------------------------------------------------------------
> > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> > initiative of OASIS <http://www.oasis-open.org>
> >
> > The list archives are at http://lists.xml.org/archives/xml-dev/
> >
> > To subscribe or unsubscribe from this list use the subscription
> > manager: <http://lists.xml.org/ob/adm.pl>
begin:vcard 
n:Chiusano;Joseph
tel;work:(703) 902-6923
x-mozilla-html:FALSE
url:www.bah.com
org:Booz | Allen | Hamilton;IT Digital Strategies Team
adr:;;8283 Greensboro Drive;McLean;VA;22012;
version:2.1
email;internet:chiusano_joseph@b...
title:Senior Consultant
fn:Joseph M. Chiusano
end:vcard

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member