Document
Iface
constructor
parent
Iface
name
create
Cdata
create
Comment
create
Element
create
Pi
create
Text
get
Backup
get
File
get
Indent
get
Ns
Top
get
Prefix
Default
Ns
get
Root
save
save
As
set
Backup
set
File
set
Indent
set
Ns
Top
set
Prefix
Default
Ns
NODE-GTK API Reference
GXml-0.16
GXml
DocumentIface
Class DocumentIface
Hierarchy
DocumentIface
Index
Constructors
constructor
Properties
parent
Iface
name
Methods
create
Cdata
create
Comment
create
Element
create
Pi
create
Text
get
Backup
get
File
get
Indent
get
Ns
Top
get
Prefix
Default
Ns
get
Root
save
save
As
set
Backup
set
File
set
Indent
set
Ns
Top
set
Prefix
Default
Ns
Constructors
constructor
new
Document
Iface
(
)
:
GXml
.
DocumentIface
Returns
GXml
.
DocumentIface
Properties
parent
Iface
parent
Iface
:
TypeInterface
Static
name
name
:
string
Methods
create
Cdata
create
Cdata
(
self
:
GXml
.
Document
, text
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
text:
string
Returns
GXml
.
Node
create
Comment
create
Comment
(
self
:
GXml
.
Document
, text
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
text:
string
Returns
GXml
.
Node
create
Element
create
Element
(
self
:
GXml
.
Document
, name
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
name:
string
Returns
GXml
.
Node
create
Pi
create
Pi
(
self
:
GXml
.
Document
, target
:
string
, data
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
target:
string
data:
string
Returns
GXml
.
Node
create
Text
create
Text
(
self
:
GXml
.
Document
, text
:
string
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
text:
string
Returns
GXml
.
Node
get
Backup
get
Backup
(
self
:
GXml
.
Document
)
:
boolean
Parameters
self:
GXml
.
Document
Returns
boolean
get
File
get
File
(
self
:
GXml
.
Document
)
:
Gio
.
File
Parameters
self:
GXml
.
Document
Returns
Gio
.
File
get
Indent
get
Indent
(
self
:
GXml
.
Document
)
:
boolean
Parameters
self:
GXml
.
Document
Returns
boolean
get
Ns
Top
get
Ns
Top
(
self
:
GXml
.
Document
)
:
boolean
Parameters
self:
GXml
.
Document
Returns
boolean
get
Prefix
Default
Ns
get
Prefix
Default
Ns
(
self
:
GXml
.
Document
)
:
boolean
Parameters
self:
GXml
.
Document
Returns
boolean
get
Root
get
Root
(
self
:
GXml
.
Document
)
:
GXml
.
Node
Parameters
self:
GXml
.
Document
Returns
GXml
.
Node
save
save
(
self
:
GXml
.
Document
, cancellable
?:
Gio
.
Cancellable
)
:
boolean
Parameters
self:
GXml
.
Document
Optional
cancellable:
Gio
.
Cancellable
Returns
boolean
save
As
save
As
(
self
:
GXml
.
Document
, f
:
Gio
.
File
, cancellable
?:
Gio
.
Cancellable
)
:
boolean
Parameters
self:
GXml
.
Document
f:
Gio
.
File
Optional
cancellable:
Gio
.
Cancellable
Returns
boolean
set
Backup
set
Backup
(
self
:
GXml
.
Document
, value
:
boolean
)
:
void
Parameters
self:
GXml
.
Document
value:
boolean
Returns
void
set
File
set
File
(
self
:
GXml
.
Document
, value
:
Gio
.
File
)
:
void
Parameters
self:
GXml
.
Document
value:
Gio
.
File
Returns
void
set
Indent
set
Indent
(
self
:
GXml
.
Document
, value
:
boolean
)
:
void
Parameters
self:
GXml
.
Document
value:
boolean
Returns
void
set
Ns
Top
set
Ns
Top
(
self
:
GXml
.
Document
, value
:
boolean
)
:
void
Parameters
self:
GXml
.
Document
value:
boolean
Returns
void
set
Prefix
Default
Ns
set
Prefix
Default
Ns
(
self
:
GXml
.
Document
, value
:
boolean
)
:
void
Parameters
self:
GXml
.
Document
value:
boolean
Returns
void
Document
Iface
constructor
parent
Iface
name
create
Cdata
create
Comment
create
Element
create
Pi
create
Text
get
Backup
get
File
get
Indent
get
Ns
Top
get
Prefix
Default
Ns
get
Root
save
save
As
set
Backup
set
File
set
Indent
set
Ns
Top
set
Prefix
Default
Ns
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kL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