def createfrag():
	return xsc.Frag(
		xml.XML(),
		html.DocTypeHTML401transitional(),
		xsc.Comment("gurk"),
		"hurz",
		specials.tab(),
		abbr.xist(),
		None,
		True,
		False,
		1,
		2.0,
		"3",
		"4",
		(5, 6),
		[7, 8],
		html.div(
			align="left"
		),
		url.URL("http://www.python.org/"),
		html.span(
			1,
			2,
			class_="gurk",
			id=(1, 2, (3, 4)),
			lang=(
				True,
				False,
				url.URL("http://www.python.org/"),
				html.abbr(
					xml.XML(),
					"hurz",
					specials.tab(),
					abbr.xist(),
					None,
					1,
					2.0,
					"3",
					"4",
					(5, 6),
					[7, 8],
					html.span("gurk"),
					title="hurz"
				)
			)
		)
	)
def createelement():
	return html.span(
		1,
		2,
		class_="gurk",
		id=(1, 2, (3, 4)),
		lang=(
			True,
			False,
			url.URL("http://www.python.org/"),
			html.abbr(
				xml.XML(),
				"hurz",
				specials.tab(),
				abbr.xist(),
				None,
				1,
				2.0,
				"3",
				"4",
				(5, 6),
				[7, 8],
				html.span("gurk"),
				title="hurz"
			)
		)
	)
Exemple #3
0
def createfrag():
    return xsc.Frag(
        xml.XML(),
        html.DocTypeHTML401transitional(), xsc.Comment("gurk"), "hurz",
        specials.tab(), abbr.xist(), None, True, False, 1, 2.0, "3", "4",
        (5, 6), [7, 8], html.div(align="left"),
        url.URL("http://www.python.org/"),
        html.span(1,
                  2,
                  class_="gurk",
                  id=(1, 2, (3, 4)),
                  lang=(True, False, url.URL("http://www.python.org/"),
                        html.abbr(xml.XML(),
                                  "hurz",
                                  specials.tab(),
                                  abbr.xist(),
                                  None,
                                  1,
                                  2.0,
                                  "3",
                                  "4", (5, 6), [7, 8],
                                  html.span("gurk"),
                                  title="hurz"))))
Exemple #4
0
def createattrs():
    return html.span.Attrs(lang=(True, False,
                                 url.URL("http://www.python.org/"),
                                 html.abbr(xml.XML(),
                                           "hurz",
                                           specials.tab(),
                                           abbr.xist(),
                                           None,
                                           1,
                                           2.0,
                                           "3",
                                           "4", (5, 6), [7, 8],
                                           html.span("gurk"),
                                           title="hurz")))
Exemple #5
0
def createelement():
    return html.span(1,
                     2,
                     class_="gurk",
                     id=(1, 2, (3, 4)),
                     lang=(True, False, url.URL("http://www.python.org/"),
                           html.abbr(xml.XML(),
                                     "hurz",
                                     specials.tab(),
                                     abbr.xist(),
                                     None,
                                     1,
                                     2.0,
                                     "3",
                                     "4", (5, 6), [7, 8],
                                     html.span("gurk"),
                                     title="hurz")))
def createattr():
	return html.span.Attrs.lang(
		True,
		False,
		url.URL("http://www.python.org/"),
		html.abbr(
			xml.XML(),
			"hurz",
			specials.tab(),
			abbr.xist(),
			None,
			1,
			2.0,
			"3",
			"4",
			(5, 6),
			[7, 8],
			html.span("gurk"),
			title="hurz"
		)
	)