Changeset 2409:dc0d3eac7821 in livinglogic.python.xist

Show
Ignore:
Timestamp:
06/29/05 14:04:01 (15 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Add a doctype for XHTML 1.1

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • _xist/ns/html.py

    r2353 r2409  
    138138    def __init__(self): 
    139139        xsc.DocType.__init__(self, 'html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"') 
     140 
     141 
     142class DocTypeXHTML11(xsc.DocType): 
     143    """ 
     144    document type for XHTML 1.1 
     145    """ 
     146    def __init__(self): 
     147        xsc.DocType.__init__(self, 'html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"') 
    140148 
    141149