@nodecfdi/cfdi-core
Preparing search index...
xml_nodes/xml_node
default
Class default
Implements
XmlNodeInterface
Index
Constructors
constructor
Accessors
length
Methods
[iterator]
add
Attributes
add
Child
attributes
cdata
children
clear
get
Attribute
has
Attribute
name
search
Attribute
search
Node
search
Nodes
set
Attribute
setCData
set
Value
value
Constructors
constructor
new
default
(
name
:
string
,
attributes
?:
Record
<
string
,
unknown
>
,
children
?:
XmlNodeInterface
[]
,
value
?:
string
,
cdata
?:
string
,
)
:
default
Parameters
name
:
string
attributes
:
Record
<
string
,
unknown
>
= {}
children
:
XmlNodeInterface
[]
= []
value
:
string
= ''
cdata
:
string
= ''
Returns
default
Accessors
length
get
length
()
:
number
Returns
number
Methods
[iterator]
"[iterator]"
()
:
IterableIterator
<
XmlNodeInterface
>
Returns
IterableIterator
<
XmlNodeInterface
>
add
Attributes
addAttributes
(
attributes
:
Record
<
string
,
unknown
>
)
:
void
Parameters
attributes
:
Record
<
string
,
unknown
>
Returns
void
add
Child
addChild
(
node
:
XmlNodeInterface
)
:
XmlNodeInterface
Parameters
node
:
XmlNodeInterface
Returns
XmlNodeInterface
attributes
attributes
()
:
default
Returns
default
cdata
cdata
()
:
string
Returns
string
children
children
()
:
default
Returns
default
clear
clear
()
:
void
Returns
void
get
Attribute
getAttribute
(
name
:
string
)
:
string
Parameters
name
:
string
Returns
string
has
Attribute
hasAttribute
(
name
:
string
)
:
boolean
Parameters
name
:
string
Returns
boolean
name
name
()
:
string
Returns
string
search
Attribute
searchAttribute
(
...
searchPath
:
string
[]
)
:
string
Parameters
...
searchPath
:
string
[]
Returns
string
search
Node
searchNode
(
...
searchPath
:
string
[]
)
:
undefined
|
XmlNodeInterface
Parameters
...
searchPath
:
string
[]
Returns
undefined
|
XmlNodeInterface
search
Nodes
searchNodes
(
...
searchPath
:
string
[]
)
:
default
Parameters
...
searchPath
:
string
[]
Returns
default
set
Attribute
setAttribute
(
name
:
string
,
value
?:
null
|
string
)
:
void
Parameters
name
:
string
value
:
null
|
string
= null
Returns
void
setCData
setCData
(
cdata
:
string
)
:
void
Parameters
cdata
:
string
Returns
void
set
Value
setValue
(
value
:
string
)
:
void
Parameters
value
:
string
Returns
void
value
value
()
:
string
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
length
Methods
[iterator]
add
Attributes
add
Child
attributes
cdata
children
clear
get
Attribute
has
Attribute
name
search
Attribute
search
Node
search
Nodes
set
Attribute
setCData
set
Value
value
@nodecfdi/cfdi-core
Loading...