Xmlelement
The object represents an XML element within a document.
|
appendattribute |
|
|
Description |
Add an attribute to the element. |
|
Type Value |
|
|
Format |
xmlelement.appendattribute(attribute) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
attribute |
xmlattribute |
The attribute to add to the element is |
|
Examples |
|
xmlelement.appendattribute(xmlattribute) |
|
appendchild |
|
|
Description |
Add an XML element as a child. |
|
Type Value |
|
|
Format |
xmlelement.appendchild(element) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
element |
xmlelement |
The element to add |
|
Examples |
|
xmlelement.appendchild(element2) |
|
getattributes |
|
|
Description |
Retrieve all the xml attributes present within the element. |
|
Type Value |
list |
|
Format |
list |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Examples |
|
attributes = xmlelement.getattributes() |
|
getvalue |
|
|
Description |
Retrieve the value saved inside the element. |
|
Type Value |
object |
|
Format |
object = xmlelement.getvalue() |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Examples |
|
value = xmlelement.getvalue() |
|
removeattribute |
|
|
Description |
Remove a specific XML attribute from the element. |
|
Type Value |
|
|
Format |
xmlelement.removeattribute(attribute) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
attribute |
xmlattribute |
The attribute to be deleted |
|
Examples |
|
xmlelement.removeattribute(attribute) |
|
setvalue |
|
|
Description |
Set the value of an element. |
|
Type Value |
|
|
Format |
xmlelement.setvalue(value) |
|
Typology |
Metodo |
|
Systems |
Windows, Web, Android, IOS, Mac OS |
|
Parametro |
Tipo Valore |
Description |
|
value |
object |
The value to be set |
|
Examples |
|
xmlelement.setvalue(`value`) |