xmlEntity
This tag creates a XML entity. The parameters create a name and value.
Created by: hackvertor
Installed 1 times
Viewed: 216
Category: XML
Created on: Wednesday, October 30, 2024 at 11:03:57 AM
Updated on: Thursday, May 22, 2025 at 12:54:25 PM
Tag arguments
[
{
"type": "string",
"help": "This is the entity name",
"defaultValue": "name"
},
{
"type": "string",
"help": "This is the entity value",
"defaultValue": "value"
}
]
Code
class xmlEntity {
encode(input, name, value) {
return `<!DOCTYPE xml [
<!ENTITY ${name} "${value}">
]>`;
}
}