version	U12.1.00
uid	htmlformatter.u1-1786033054-0
record	xml__HtmlFormatter__state,2
	0,__s
	1,__m
record	xml__HtmlFormatter__methods,10
	0,format_document
	1,format_content
	2,format_doctype
	3,format_comment
	4,format_element
	5,format
	6,format_pi
	7,format_cdata
	8,format_xmldecl
	9,xml__Formatter
impl	local
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/xml/formatter.u
global	11
	0,000005,xml__HtmlFormatter_format_document,3
	1,000005,xml__HtmlFormatter_format_content,3
	2,000005,xml__HtmlFormatter_format_doctype,3
	3,000005,xml__HtmlFormatter_format_comment,3
	4,000005,xml__HtmlFormatter_format_element,3
	5,000011,xml__HtmlFormatter__state,2
	6,000011,xml__HtmlFormatter__methods,10
	7,000001,xml__HtmlFormatter__oprec,0
	8,000001,xml__Formatter__oprec,0
	9,000005,xml__HtmlFormatter,0
	10,000005,xml__HtmlFormatterinitialize,0

proc xml__HtmlFormatter_format_document
	local	0,001000,self
	local	1,001000,n
	local	2,001000,level
	local	3,000020,s
	con	0,010000,0
	con	1,002000,1,1
	con	2,010000,1,012
	declend
	filen	htmlformatter.icn
	line	15
	colm	11
	synt	any
	mark	L1
	pnull
	var	3
	str	0
	line	17
	colm	9
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	18
	colm	7
	synt	every
	mark0
	pnull
	var	3
	dup
	pnull
	pnull
	var	0
	line	18
	colm	24
	synt	any
	field	format
	pnull
	pnull
	var	1
	line	18
	colm	34
	synt	any
	field	children
	line	18
	colm	32
	synt	any
	bang
	pnull
	var	2
	int	1
	line	18
	colm	49
	synt	any
	plus
	line	18
	colm	31
	synt	any
	invoke	2
	str	2
	line	18
	colm	52
	synt	any
	cat
	line	18
	colm	15
	synt	any
	cat
	asgn
	pop
lab L3
	efail
lab L4
	line	18
	colm	7
	synt	endevery
	unmark
lab L2
	mark	L5
	mark	L6
	var	3
	line	19
	colm	7
	synt	any
	pret
lab L6
	synt	any
	pfail
	unmark
lab L5
	pnull
	line	20
	colm	1
	synt	any
	pfail
	end
proc xml__HtmlFormatter_format_content
	local	0,001000,self
	local	1,001000,s
	local	2,001000,level
	declend
	line	22
	colm	11
	synt	any
	mark	L1
	mark	L2
	var	1
	line	23
	colm	7
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	24
	colm	1
	synt	any
	pfail
	end
proc xml__HtmlFormatter_format_doctype
	local	0,001000,self
	local	1,001000,n
	local	2,001000,level
	local	3,000020,s
	local	4,000020,t
	local	5,000020,x
	con	0,010000,10,074,041,104,117,103,124,131,120,105,040
	con	1,010000,9,040,120,125,102,114,111,103,040,042
	con	2,010000,3,042,040,042
	con	3,010000,1,042
	con	4,010000,9,040,123,131,123,124,105,115,040,042
	con	5,010000,1,076
	declend
	line	26
	colm	11
	synt	any
	mark	L1
	pnull
	var	3
	str	0
	line	28
	colm	9
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	var	3
	dup
	pnull
	pnull
	var	1
	line	29
	colm	16
	synt	any
	field	name
	line	29
	colm	14
	synt	any
	nonnull
	line	29
	colm	9
	synt	any
	cat
	asgn
	unmark
lab L2
	mark	L3
	pnull
	var	5
	pnull
	var	1
	line	30
	colm	13
	synt	any
	field	external_id
	line	30
	colm	9
	synt	any
	asgn
	unmark
lab L3
	mark	L4
	line	31
	colm	7
	synt	if
	mark0
	pnull
	var	5
	line	31
	colm	10
	synt	any
	nonnull
	unmark
	line	32
	colm	10
	synt	ifelse
	mark	L5
	pnull
	pnull
	var	5
	line	32
	colm	15
	synt	any
	field	public_id
	line	32
	colm	13
	synt	any
	nonnull
	unmark
	pnull
	var	3
	dup
	pnull
	pnull
	pnull
	pnull
	str	1
	pnull
	var	5
	line	33
	colm	37
	synt	any
	field	public_id
	line	33
	colm	33
	synt	any
	cat
	str	2
	line	33
	colm	48
	synt	any
	cat
	pnull
	var	5
	line	33
	colm	63
	synt	any
	field	system_id
	line	33
	colm	59
	synt	any
	cat
	str	3
	line	33
	colm	74
	synt	any
	cat
	line	33
	colm	15
	synt	any
	cat
	asgn
	goto	L6
lab L5
	pnull
	var	3
	dup
	pnull
	pnull
	str	4
	pnull
	var	5
	line	35
	colm	37
	synt	any
	field	system_id
	line	35
	colm	33
	synt	any
	cat
	str	3
	line	35
	colm	48
	synt	any
	cat
	line	35
	colm	15
	synt	any
	cat
	asgn
lab L6
	line	32
	colm	10
	synt	endifelse
	line	31
	colm	7
	synt	endif
	unmark
lab L4
	mark	L7
	mark	L8
	pnull
	var	3
	str	5
	line	37
	colm	16
	synt	any
	cat
	line	37
	colm	7
	synt	any
	pret
lab L8
	synt	any
	pfail
	unmark
lab L7
	pnull
	line	38
	colm	1
	synt	any
	pfail
	end
proc xml__HtmlFormatter_format_comment
	local	0,001000,self
	local	1,001000,n
	local	2,001000,level
	con	0,010000,4,074,041,055,055
	con	1,010000,3,055,055,076
	declend
	line	40
	colm	11
	synt	any
	mark	L1
	mark	L2
	pnull
	pnull
	str	0
	pnull
	var	1
	line	41
	colm	25
	synt	any
	field	comment
	line	41
	colm	21
	synt	any
	cat
	str	1
	line	41
	colm	34
	synt	any
	cat
	line	41
	colm	7
	synt	any
	pret
lab L2
	synt	any
	pfail
	unmark
lab L1
	pnull
	line	42
	colm	1
	synt	any
	pfail
	end
proc xml__HtmlFormatter_format_element
	local	0,001000,self
	local	1,001000,n
	local	2,001000,level
	local	3,000020,s
	local	4,000020,l
	local	5,000020,e
	local	6,000000,sort
	local	7,000000,xml__xml_escape
	local	8,000000,string
	local	9,000000,xml__html_is_standalone_tag
	con	0,010000,1,074
	con	1,002000,1,2
	con	2,010000,1,040
	con	3,002000,1,1
	con	4,010000,2,075,042
	con	5,020000,4,046,074,076,042
	con	6,010000,1,042
	con	7,010000,1,076
	con	8,010000,2,074,057
	declend
	line	44
	colm	11
	synt	any
	mark	L1
	pnull
	var	3
	pnull
	str	0
	pnull
	var	1
	line	47
	colm	20
	synt	any
	field	name
	line	47
	colm	16
	synt	any
	cat
	line	47
	colm	9
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	49
	colm	7
	synt	every
	mark0
	pnull
	var	4
	pnull
	var	6
	pnull
	var	1
	line	49
	colm	25
	synt	any
	field	attributes
	line	49
	colm	23
	synt	any
	invoke	1
	line	49
	colm	18
	synt	any
	bang
	line	49
	colm	15
	synt	any
	asgn
	pop
	mark0
	line	50
	colm	10
	synt	ifelse
	mark	L5
	pnull
	pnull
	var	4
	int	1
	line	50
	colm	15
	synt	any
	subsc
	line	50
	colm	13
	synt	any
	nonnull
	unmark
	pnull
	var	3
	dup
	pnull
	pnull
	pnull
	pnull
	str	2
	pnull
	var	4
	int	3
	line	51
	colm	28
	synt	any
	subsc
	line	51
	colm	24
	synt	any
	cat
	str	4
	line	51
	colm	32
	synt	any
	cat
	var	7
	pnull
	var	4
	int	1
	line	51
	colm	61
	synt	any
	subsc
	cset	5
	line	51
	colm	59
	synt	any
	invoke	2
	line	51
	colm	41
	synt	any
	cat
	str	6
	line	51
	colm	73
	synt	any
	cat
	line	51
	colm	15
	synt	any
	cat
	asgn
	goto	L6
lab L5
	pnull
	var	3
	dup
	pnull
	str	2
	pnull
	var	4
	int	3
	line	53
	colm	28
	synt	any
	subsc
	line	53
	colm	24
	synt	any
	cat
	line	53
	colm	15
	synt	any
	cat
	asgn
lab L6
	line	50
	colm	10
	synt	endifelse
	unmark
lab L3
	efail
lab L4
	line	49
	colm	7
	synt	endevery
	unmark
lab L2
	mark	L7
	pnull
	var	3
	dup
	str	7
	line	56
	colm	9
	synt	any
	cat
	asgn
	unmark
lab L7
	mark	L8
	line	58
	colm	7
	synt	every
	mark0
	pnull
	var	5
	pnull
	pnull
	var	1
	line	58
	colm	20
	synt	any
	field	children
	line	58
	colm	18
	synt	any
	bang
	line	58
	colm	15
	synt	any
	asgn
	pop
	mark0
	line	59
	colm	10
	synt	ifelse
	mark	L11
	var	8
	var	5
	line	59
	colm	19
	synt	any
	invoke	1
	unmark
	pnull
	var	3
	dup
	var	7
	var	5
	cset	5
	line	60
	colm	35
	synt	any
	invoke	2
	line	60
	colm	15
	synt	any
	cat
	asgn
	goto	L12
lab L11
	pnull
	var	3
	dup
	pnull
	var	0
	line	62
	colm	24
	synt	any
	field	format
	var	5
	pnull
	var	2
	int	3
	line	62
	colm	39
	synt	any
	plus
	line	62
	colm	31
	synt	any
	invoke	2
	line	62
	colm	15
	synt	any
	cat
	asgn
lab L12
	line	59
	colm	10
	synt	endifelse
	unmark
lab L9
	efail
lab L10
	line	58
	colm	7
	synt	endevery
	unmark
lab L8
	mark	L13
	line	65
	colm	7
	synt	if
	mark0
	mark	L14
	var	9
	pnull
	var	1
	line	65
	colm	43
	synt	any
	field	name
	line	65
	colm	41
	synt	any
	invoke	1
	unmark
	efail
lab L14
	pnull
	unmark
	pnull
	var	3
	dup
	pnull
	pnull
	str	8
	pnull
	var	1
	line	66
	colm	26
	synt	any
	field	name
	line	66
	colm	22
	synt	any
	cat
	str	7
	line	66
	colm	32
	synt	any
	cat
	line	66
	colm	12
	synt	any
	cat
	asgn
	line	65
	colm	7
	synt	endif
	unmark
lab L13
	mark	L15
	mark	L16
	var	3
	line	67
	colm	7
	synt	any
	pret
lab L16
	synt	any
	pfail
	unmark
lab L15
	pnull
	line	68
	colm	1
	synt	any
	pfail
	end
proc xml__HtmlFormatter
	local	0,000020,self
	local	1,000020,clone
	local	2,000000,xml__HtmlFormatter__oprec
	local	3,000000,xml__HtmlFormatterinitialize
	local	4,000000,xml__Formatter__oprec
	local	5,000000,xml__Formatterinitialize
	local	6,000000,xml__HtmlFormatter__state
	declend
	filen	__faux.icn
	line	5
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	mark	L4
	line	8
	colm	3
	synt	if
	mark0
	pnull
	var	2
	line	8
	colm	6
	synt	any
	null
	unmark
	var	3
	line	8
	colm	66
	synt	any
	invoke	0
	line	8
	colm	3
	synt	endif
	unmark
lab L4
	mark	L5
	line	9
	colm	3
	synt	if
	mark0
	pnull
	var	4
	line	9
	colm	6
	synt	any
	null
	unmark
	var	5
	line	9
	colm	58
	synt	any
	invoke	0
	line	9
	colm	3
	synt	endif
	unmark
lab L5
	pnull
	pnull
	var	2
	line	10
	colm	28
	synt	any
	field	xml__Formatter
	var	4
	line	10
	colm	44
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L6
	pnull
	var	0
	var	6
	line	12
	colm	37
	synt	any
	keywd	null
	var	2
	line	12
	colm	36
	synt	any
	invoke	2
	line	12
	colm	8
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	pnull
	pnull
	var	0
	line	13
	colm	7
	synt	any
	field	__s
	var	0
	line	13
	colm	12
	synt	any
	asgn
	unmark
lab L7
	mark	L8
	mark	L9
	var	0
	line	14
	colm	3
	synt	any
	pret
lab L9
	synt	any
	pfail
	unmark
lab L8
	pnull
	line	15
	colm	1
	synt	any
	pfail
	end
proc xml__HtmlFormatterinitialize
	local	0,000000,xml__HtmlFormatter__oprec
	local	1,000000,xml__HtmlFormatter__methods
	local	2,000000,xml__HtmlFormatter_format_document
	local	3,000000,xml__HtmlFormatter_format_content
	local	4,000000,xml__HtmlFormatter_format_doctype
	local	5,000000,xml__HtmlFormatter_format_comment
	local	6,000000,xml__HtmlFormatter_format_element
	local	7,000000,xml__Formatter_format
	local	8,000000,xml__Formatter_format_pi
	local	9,000000,xml__Formatter_format_cdata
	local	10,000000,xml__Formatter_format_xmldecl
	declend
	line	17
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	0
	var	1
	var	2
	var	3
	var	4
	var	5
	var	6
	var	7
	var	8
	var	9
	var	10
	line	18
	colm	67
	synt	any
	invoke	9
	line	18
	colm	37
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	line	19
	colm	1
	synt	any
	pfail
	end
