<environment> in 3.1 DTD

James Robertson jwrober at linuxfromscratch.org
Fri Feb 6 20:41:15 PST 2004

Kevin P. Fleming wrote:

> James Robertson wrote:
>> The current book discusses a "mode" attribute on <environment>, but 
>> the DTD says nothing about this.  Is the DTD wrong or is the doc?
> Must be the DTD, the nALFS code has implemented mode="append" for a long 
> while (since before I was involved), and I added mode="prepend" months ago.
OK.  How do I put that in DTD form?  How about this?

<!ELEMENT environment    (variable+)>
<!ATTLIST environment
           mode           ((append | prepend)?)>

James Robertson -- jwrober at linuxfromscratch dot org
Reg. Linux User -- #160424 -- http://counter.li.org
Reg. LFS User   -- #6981   -- http://www.linuxfromscratch.org
LFS Bugzilla Maintainer    -- http://{blfs-}bugs.linuxfromscratch.org

More information about the alfs-discuss mailing list