xmlEntity
This tag creates a XML entity. The parameters create a name and value.
Created by: hackvertor
Installed 1 times
Category: XML
Created on: Wednesday, October 30, 2024 at 11:03:57 AM
Updated on: Wednesday, November 6, 2024 at 2:17:28 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}">
]>`;
}
}