Html.Doc – libxml-2.0 Reference Manual
Packages
libxml-2.0
Html
Doc
parse_file
read_doc
read_fd
read_io
read_memory
sax_parse_doc
sax_parse_file
Doc
Doc.new_no_dtd
auto_close_tag
dump
dump_memory
dump_memory_format
get_meta_encoding
is_auto_closed
node_dump_file
node_dump_file_format
save_file
save_file_enc
save_file_format
set_meta_encoding
Doc
Object Hierarchy:
Description:
[
Compact
]
public
class
Doc
:
Doc
Namespace:
Html
Package:
libxml-2.0
Content:
Static methods:
public
static
unowned
Doc
*
sax_parse_doc
(
string
cur,
string
? encoding,
SAXHandler
* sax,
void
* user_data =
null
)
public
static
unowned
Doc
*
sax_parse_file
(
string
filename,
string
? encoding,
SAXHandler
* sax,
void
* user_data =
null
)
public
static
unowned
Doc
*
parse_file
(
string
filename,
string
? encoding)
public
static
unowned
Doc
*
read_doc
(
string
cur,
string
url,
string
? encoding =
null
,
int
options =
0
)
public
static
unowned
Doc
*
read_memory
(
char
[] buffer,
int
size,
string
url,
string
? encoding =
null
,
int
options =
0
)
public
static
unowned
Doc
*
read_fd
(
int
fd,
string
url,
string
? encoding =
null
,
int
options =
0
)
public
static
unowned
Doc
*
read_io
(
InputReadCallback
ioread,
InputCloseCallback
ioclose,
void
* ioctx,
string
url,
string
? encoding =
null
,
int
options =
0
)
Creation methods:
public
Doc
(
string
? uri =
null
,
string
? external_id =
null
)
public
Doc.new_no_dtd
(
string
? uri =
null
,
string
? external_id =
null
)
Methods:
public
string
get_meta_encoding
()
public
int
set_meta_encoding
(
string
encoding)
public
void
dump_memory
(
out
string
mem,
out
int
len =
null
)
public
void
dump_memory_format
(
out
string
mem,
out
int
len =
null
,
bool
format =
true
)
public
int
dump
(
FileStream
f)
public
int
save_file
(
string
filename)
public
int
node_dump_file
(
FileStream
file,
unowned
Node
* node)
public
int
node_dump_file_format
(
FileStream
file,
string
enc =
"UTF-8"
,
bool
format =
true
)
public
int
save_file_enc
(
string
filename,
string
enc =
"UTF-8"
)
public
int
save_file_format
(
string
filename,
string
enc =
"UTF-8"
,
bool
format =
true
)
public
bool
is_auto_closed
(
unowned
Node
* elem)
public
bool
auto_close_tag
(
string
name,
unowned
Node
* elem)
Inherited Members:
All known members inherited from class Xml.Doc
copy
create_int_subset
dump
dump_memory_format
dump_memory_enc_format
dump_memory
dump_memory_enc
dump_format
get_root_element
set_root_element
elem_dump
get_compress_mode
new_cdata_block
new_char_ref
new_comment
new_fragment
new_node
new_node_eat_name
new_pi
new_prop
new_raw_node
new_text
new_text_len
new_reference
node_list_get_raw_string
node_list_get_string
save_file
save_file_enc
save_format_file
save_format_file_enc
set_compress_mode
string_get_node_list
string_len_get_node_list
type
name
children
last
parent
next
prev
doc
compression
standalone
int_subset
ext_subset
old_ns
version
encoding
url
charset