XML::DOM::AttlistDecl − An XML ATTLIST declaration in XML::DOM


XML::DOM::AttlistDecl extends XML::DOM::Node but is not part of the DOM Level 1 specification.

This node represents an ATTLIST declaration, e.g.

 <!ATTLIST person
   sex      (male|female)  #REQUIRED
   hair     CDATA          "bold"
   eyes     (none|one|two) "two"
   species  (human)        #FIXED "human">

Each attribute definition is stored a separate AttDef node. The AttDef nodes can be retrieved with getAttDef and added with addAttDef. (The AttDef nodes are stored in a NamedNodeMap internally.)


Returns the Element tagName.

getAttDef (attrName)

Returns the AttDef node for the attribute with the specified name.

addAttDef (attrName, type, default, [ fixed ])

Adds a AttDef node for the attribute with the specified name.

the attribute name.
the attribute type (e.g. " CDATA " or "(male|female)".)
the default value enclosed in quotes (!), the string #IMPLIED or
the string #REQUIRED.
whether the attribute is ’#FIXED’ (default is 0.)

More Linux Commands

cgdisk(8) Curses-based GUID partition table (GPT) manipulato
GPT fdisk is a text-mode family of programs for creation and manipulation of partition tables. The cgdisk member of this family employs a curses-based user inte

pam_getenv(3) - get a PAM environment variable (Man Page)...
The pam_getenv function searches the PAM environment list as associated with the handle pamh for an item that matches the string pointed to by name and returns

pppoe(8) user-space PPPoE client. - Linux manual page.......
pppoe is a user-space client for PPPoE (Point-to-Point Protocol over Ethernet) for Linux and other UNIX systems. pppoe works in concert with the pppd PPP daemon

Tcl_SetLongObj(3) - manipulate Tcl objects as integer values
These procedures are used to create, modify, and read Tcl objects that &amp;#9474; hold integral values. &amp;#9474; The different routines exist to accommodate differe

pos_form_cursor(3form) - position a form window cursor......
pos_form_cursor.3form - The function pos_form_cursor restores the cursor to the position required for the forms driver to continue processing requests. This is

xhost(1) - server access control program for X (Man Page)...
The xhost program is used to add and delete host names or user names to the list allowed to make connections to the X server. In the case of hosts, this provide

vfs_aio_linux(8) implement async I O in Samba vfs using Linu
This VFS module is part of the samba(7) suite. The aio_linux VFS module enables asynchronous I/O for Samba on Linux kernels that have the kernel AIO calls avail

Tk_CanvasWindowCoords(3) - utility procedures for canvas typ
These procedures are called by canvas type managers to perform various utility functions. Tk_CanvasTkwin returns the Tk_Window associated with a particular canv

XGetWindowProperty(3) - obtain and change window properties
The XGetWindowProperty function returns the actual type of the property; the actual format of the property; the number of 8-bit, 16-bit, or 32-bit items transfe

MIME::Parser::Reader(3pm) - a line-oriented reader for a MIM
A line-oriented reader which can deal with virtual end-of-stream defined by a collection of boundaries. Warning: this is a private class solely for use by MIME:

tmpnam(3) - create a name for a temporary file (Man Page)...
Note: Avoid use of tmpnam(); use mkstemp(3) or tmpfile(3) instead. The tmpnam() function returns a pointer to a string that is a valid filename, and such that a

rgview(1) - Vi IMproved, a programmers text editor (ManPage)
Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs. There are a

We can't live, work or learn in freedom unless the software we use is free.