MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/lib/python2.4/site-packages/_xmlplus/dom/ext/reader/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/lib/python2.4/site-packages/_xmlplus/dom/ext/reader/HtmlSax.pyc
mò
ìm>c@s[dZdkZdkZdkZdkZdklZdklZdfd„ƒYZ	dS(s
Components for reading HTML files from a SAX-like producer.
WWW: http://4suite.com/4DOM         e-mail: support@4suite.com

Copyright (c) 2000 Fourthought Inc, USA.   All Rights Reserved.
See  http://4suite.com/COPYRIGHT  for license and copyright information
N(sNode(simplementationtHtmlDomGeneratorcBshtZdd„Zdd„Zd„Zd„Zd„Zd„Zd„Z	d	„Z
d
„Zd„ZRS(NicCs
||_dS(N(t	keepAllWstselft
_keepAllWs(RR((tC/usr/lib/python2.4/site-packages/_xmlplus/dom/ext/reader/HtmlSax.pyt__init__scCs¢|djoQtidƒ|_|ii}|ii|ƒt	i
ii|ƒ|i|_
n||_|iiƒ|_
g|_|ii|i
ƒd|_dS(sŽ
        If None is passed in as the doc, set up an empty document to act
        as owner and also add all elements to this document
        tN(townerDoctNonetimplementationtcreateHTMLDocumentRt	_ownerDoctdocumentElementtdetremoveChildtxmltdomtexttReleaseNodet	_rootNodetcreateDocumentFragmentt
_nodeStacktappendt	_currText(RRR
((Rt	initStates
			cCs|iƒ|iS(N(Rt_completeTextNodeR(R((RtgetRootNode/s
cCsD|io6|ii|iƒ}|idi|ƒd|_ndS(NiÿÿÿÿR(RRRtcreateTextNodetnew_textRtappendChild(RR((RR3s
cCs[|iƒ|ii|ƒ}x(|iƒD]}|i	|||ƒq)W|i
i|ƒdS(N(RRRt
createElementtnametnew_elementtattribstkeystcurr_attrib_keytsetAttributeRR(RRR!R#R ((RtstartElement:s

cCs9|iƒ|id}|id=|idi|ƒdS(Niÿÿÿÿ(RRRR R(RRR ((Rt
endElementBs


cCsG|io9|iditijo|i||||!|_ndS(s
        If 'keepAllWs' permits, add ignorable white-space as a text node.
        Remember that a Document node cannot contain text nodes directly.
        If the white-space occurs outside the root element, there is no place
        for it in the DOM and it must be discarded.
        iÿÿÿÿN(
RRRtnodeTypetNodet
DOCUMENT_NODERtchtstarttlength(RR*R+R,((RtignorableWhitespaceHs$cCs|i||||!|_dS(N(RRR*R+R,(RR*R+R,((Rt
charactersRscCs
|‚dS(N(t	exception(RR/((RterrorZscCs
|‚dS(N(R/(RR/((Rt
fatalError]s(
t__name__t
__module__RRRRRR%R&R-R.R0R1(((RRs					
		(
t__doc__tsyststringt	cStringIOtxml.dom.extRtxml.domR(R	R(R(R7R6RR	R5R((Rt?
s
	



Anon7 - 2021