Options
All
  • Public
  • Public/Protected
  • All
Menu

Class XmlAttribute<Parent>

Represents an attribute.

An attribute is part of the start tag of an element and is structured as follows, where {name} is the name of the attribute and {value} is the value of the attribute:

<element {name}="{value}">

The {name} value is a property of this node, while the {value} property consists of the children of this node.

Attributes can have an unlimited number of attribute text, character references, and entity references.

Type parameters

  • Parent

Hierarchy

  • XmlAttribute

Index

Constructors

constructor

Accessors

name

  • get name(): string
  • set name(name: string): void

Methods

charRef

entityRef

text

toString

up

  • up(): Parent

Generated using TypeDoc