Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
site-packages
/
_xmlplus
/
dom
/
ext
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/site-packages/_xmlplus/dom/ext/XHtml2HtmlPrinter.pyc
mò xùžNc @ s‚ d k Z d k Z d k l Z d k l Z d f d „ ƒ YZ d f d „ ƒ YZ d f d „ ƒ YZ d e i f d „ ƒ YZ d S( N( s XHTML_NAMESPACE( s HTML_FORBIDDEN_ENDt HtmlDocTypec B s$ t Z d Z d Z d Z g Z Z RS( Nt HTMLs -//W3C//DTD HTML 4.0//ENs* http://www.w3.org/TR/REC-html40/strict.dtd( t __name__t __module__t namet publicIdt systemIdt entitiest notations( ( ( tF /usr/lib/python2.4/site-packages/_xmlplus/dom/ext/XHtml2HtmlPrinter.pyR s t HtmlAttrc B s t Z d „ Z RS( Nc C s8 d | _ t i | i p | i ƒ | _ | i | _ d S( N( t Nonet selft namespaceURIt stringt uppert nodet localNamet nodeNameR t value( R R ( ( R t __init__ s ( R R R ( ( ( R R s t HtmlElementc B s t Z d „ Z RS( Nc C s; t i | i p | i ƒ | _ | i | _ | i | _ d S( N( R R R R R R t tagNamet childNodest attributes( R R ( ( R R s ( R R R ( ( ( R R s t XHtml2HtmlPrintVisitorc B s2 t Z d d d „ Z d „ Z d „ Z d „ Z RS( Nt c C s) t i i | | | | | ƒ d | _ d S( Ni ( t Printert PrintVisitorR R t streamt encodingt indentt plainElementst _html( R R R R R ( ( R R s c C s* | i t ƒ | i | i d | i ƒd S( Nt exclude( R t visitDocumentTypeR t visitNodeListt docR t doctype( R R% ( ( R t visitDocument s c C s? | i o | i t j o d Sn t i i | t | ƒ ƒ d S( N( R R t XHTML_NAMESPACER R t visitAttrR R ( R R ( ( R R) % s c C sb | i o | i t j o d Sn t | ƒ } | i d j o d | _ n t i i | | ƒ d S( Nt XHTMLR ( R R R( R t htmlElementR R R t visitElementR ( R R R+ ( ( R R, * s ( R R R R R' R) R, ( ( ( R R s ( R R t xml.domR( t xml.dom.htmlt HTML_FORBIDDEN_ENDR R R R R ( R R R R R R R( R/ ( ( R t ? s