Re: XML entity question

By the way, the way to do this:

> > <!ENTITY % DTDVersion 'v2.0N'>
> > <!ELEMENT Module (#PCDATA)*>
> > <!ATTLIST Module
> >   DTDVersion CDATA #FIXED "%DTDVersion;"
> > > 

with parameter entities is to have the whole quoted string be the
entity value:

<!ENTITY % DTDVersion '"v2.0N"'>
<!ATTLIST Module
  DTDVersion2 CDATA #FIXED %DTDVersion;
> 

-- Richard

Received on Thursday, 30 August 2007 15:35:01 UTC