At 08:48 AM 09/29/2000 -0600, Elaine M Brennan wrote:
>At 09:37 AM 9/29/00, Garg, Sanjeev said:
>> My original XML was like this:
>> <!ATTLIST Company
>> Designation (Chairman | CEO | Vice President) #IMPLIED >
>>Here Designation is NOT an Element, it's an Attribute and similarly,
>>'Chairman, CEO and Vice President' are the possible values for the
>>designation (They are NOT the elements).
>you're not allowed to have spaces in values in an enumerated list -- make
>'Vice President' 'Vice_President' and you should be fine.
Right -- or make it VicePresident, VP, something like that. And if the
reason you need a space in "Vice President" is because no one (least of all
the VP him/herself :) wants to see VicePresident or Vice_President, then
make sure that you use XSLT or a similar mechanism so that they never see
the raw attribute value.
John E. Simpson | "If you were going to
http://www.flixml.org | shoot a mime, would you use
XML Q&A: http://www.xml.com | a silencer?" (Steven Wright)