On Tue, 22 Jan 2002 21:08, Paul Hammant wrote: > Peter, > > >Well versions ar enot required attributes, so thats no it ... my memory > > fades but there is another directive that saids make it optional and > > there is also one that saids give it a default value if not provided. > > > >So the proper way to do it would be something like > > > > <!ATTLIST service > > name CDATA #REQUIRED > > version CDATA #OPTIONAL "1.0.0"> > > > >or > > > > <!ATTLIST service > > name CDATA #REQUIRED > > version CDATA #OPTIONAL> > > > >replacing "#OPTIONAL" with whatever the real element is ;) > > Shall we go with #OPTIONAL "1.0" then? > > Or Stephen's #IMPLIED ? > > Say the word and I will apply it everywhere.
I think I missed Stephens #IMPLIED ... though that may be the proper name for it - not even sure if #OPTIONAL is the proper DTD term ... actually I think it's not ;) -- Cheers, Pete *----------------------------------------------------------* The phrase "computer literate user" really means the person has been hurt so many times that the scar tissue is thick enough so he no longer feels the pain. -- Alan Cooper, The Inmates are Running the Asylum *----------------------------------------------------------* -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
