Linux ams-business-5.hostwindsdns.com 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
LiteSpeed
Server IP : 23.254.231.17 & Your IP : 216.73.216.90
Domains :
Cant Read [ /etc/named.conf ]
User : uxvsuhne
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
lib64 /
python2.7 /
site-packages /
lxml /
Delete
Unzip
Name
Size
Permission
Date
Action
html
[ DIR ]
drwxr-xr-x
2024-02-09 23:48
includes
[ DIR ]
drwxr-xr-x
2024-02-09 23:48
isoschematron
[ DIR ]
drwxr-xr-x
2024-02-09 23:48
ElementInclude.py
7.49
KB
-rw-r--r--
2018-03-13 20:13
ElementInclude.pyc
4.22
KB
-rw-r--r--
2022-04-21 13:54
ElementInclude.pyo
4.22
KB
-rw-r--r--
2022-04-21 13:54
__init__.py
551
B
-rw-r--r--
2012-10-07 18:04
__init__.pyc
776
B
-rw-r--r--
2022-04-21 13:54
__init__.pyo
776
B
-rw-r--r--
2022-04-21 13:54
_elementpath.py
9.88
KB
-rw-r--r--
2017-10-13 15:23
_elementpath.pyc
8.22
KB
-rw-r--r--
2022-04-21 13:54
_elementpath.pyo
8.22
KB
-rw-r--r--
2022-04-21 13:54
_elementpath.so
200.13
KB
-rwxr-xr-x
2022-04-21 13:54
builder.py
7.72
KB
-rw-r--r--
2017-09-17 07:43
builder.pyc
6.29
KB
-rw-r--r--
2022-04-21 13:54
builder.pyo
6.25
KB
-rw-r--r--
2022-04-21 13:54
builder.so
102.82
KB
-rwxr-xr-x
2022-04-21 13:54
cssselect.py
3.29
KB
-rw-r--r--
2016-05-05 07:08
cssselect.pyc
4.07
KB
-rw-r--r--
2022-04-21 13:54
cssselect.pyo
4.07
KB
-rw-r--r--
2022-04-21 13:54
doctestcompare.py
17.96
KB
-rw-r--r--
2016-05-05 07:08
doctestcompare.pyc
16.83
KB
-rw-r--r--
2022-04-21 13:54
doctestcompare.pyo
16.83
KB
-rw-r--r--
2022-04-21 13:54
etree.h
8.35
KB
-rw-r--r--
2018-06-22 18:57
etree.so
2.49
MB
-rwxr-xr-x
2022-04-21 13:54
etree_api.h
17.41
KB
-rw-r--r--
2018-06-22 18:57
lxml.etree.h
8.35
KB
-rw-r--r--
2018-06-22 18:57
lxml.etree_api.h
17.42
KB
-rw-r--r--
2018-06-22 18:57
objectify.so
452.46
KB
-rwxr-xr-x
2022-04-21 13:54
pyclasslookup.py
92
B
-rw-r--r--
2014-09-05 12:44
pyclasslookup.pyc
218
B
-rw-r--r--
2022-04-21 13:54
pyclasslookup.pyo
218
B
-rw-r--r--
2022-04-21 13:54
sax.py
8.32
KB
-rw-r--r--
2017-09-17 07:43
sax.pyc
8.68
KB
-rw-r--r--
2022-04-21 13:54
sax.pyo
8.68
KB
-rw-r--r--
2022-04-21 13:54
usedoctest.py
230
B
-rw-r--r--
2011-09-25 16:58
usedoctest.pyc
427
B
-rw-r--r--
2022-04-21 13:54
usedoctest.pyo
427
B
-rw-r--r--
2022-04-21 13:54
Save
Rename
� �'�Yc @ s� d Z d d l j Z d d l m Z y e Wn e k rF e Z n Xy e Wn e k rh e Z n Xd e f d � � YZ e � Z d S( s9 The ``E`` Element factory for generating XML documents. i����N( t partialt ElementMakerc B s5 e Z d Z d d d d d � Z d � Z d � Z RS( sc Element generator factory. Unlike the ordinary Element factory, the E factory allows you to pass in more than just a tag and some optional attributes; you can also pass in text and other elements. The text is added as either text or tail attributes, and elements are inserted at the right spot. Some small examples:: >>> from lxml import etree as ET >>> from lxml.builder import E >>> ET.tostring(E("tag")) '<tag/>' >>> ET.tostring(E("tag", "text")) '<tag>text</tag>' >>> ET.tostring(E("tag", "text", key="value")) '<tag key="value">text</tag>' >>> ET.tostring(E("tag", E("subtag", "text"), "tail")) '<tag><subtag>text</subtag>tail</tag>' For simple tags, the factory also allows you to write ``E.tag(...)`` instead of ``E('tag', ...)``:: >>> ET.tostring(E.tag()) '<tag/>' >>> ET.tostring(E.tag("text")) '<tag>text</tag>' >>> ET.tostring(E.tag(E.subtag("text"), "tail")) '<tag><subtag>text</subtag>tail</tag>' Here's a somewhat larger example; this shows how to generate HTML documents, using a mix of prepared factory functions for inline elements, nested ``E.tag`` calls, and embedded XHTML fragments:: # some common inline elements A = E.a I = E.i B = E.b def CLASS(v): # helper function, 'class' is a reserved word return {'class': v} page = ( E.html( E.head( E.title("This is a sample document") ), E.body( E.h1("Hello!", CLASS("title")), E.p("This is a paragraph with ", B("bold"), " text in it!"), E.p("This is another paragraph, with a ", A("link", href="http://www.python.org"), "."), E.p("Here are some reserved characters: <spam&egg>."), ET.XML("<p>And finally, here is an embedded XHTML fragment.</p>"), ) ) ) print ET.tostring(page) Here's a prettyprinted version of the output from the above script:: <html> <head> <title>This is a sample document</title> </head> <body> <h1 class="title">Hello!</h1> <p>This is a paragraph with <b>bold</b> text in it!</p> <p>This is another paragraph, with <a href="http://www.python.org">link</a>.</p> <p>Here are some reserved characters: <spam&egg>.</p> <p>And finally, here is an embedded XHTML fragment.</p> </body> </html> For namespace support, you can pass a namespace map (``nsmap``) and/or a specific target ``namespace`` to the ElementMaker class:: >>> E = ElementMaker(namespace="http://my.ns/") >>> print(ET.tostring( E.test )) <test xmlns="http://my.ns/"/> >>> E = ElementMaker(namespace="http://my.ns/", nsmap={'p':'http://my.ns/'}) >>> print(ET.tostring( E.test )) <p:test xmlns:p="http://my.ns/"/> c s3 | d k r d | d | _ n d | _ | rA t | � | _ n d | _ | d k rt t | � sh t � | | _ n t j | _ � r� t � � � n i � d � } d � } t � k r� | � t <n t � k r� | � t <n t j � k r� | � t j <n � f d � } t � k r&| � t <n � | _ d S( Nt {t }c S sP y"