XML::DOM::AttlistDecl - phpMan

Command: man perldoc info search(apropos)  


XML::DOM::AttlistDecl(User Contributed Perl DocumentatXML::DOM::AttlistDecl(3)



NAME
       XML::DOM::AttlistDecl - An XML ATTLIST declaration in XML::DOM

DESCRIPTION
       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.)

       METHODS


       getName
           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.

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



perl v5.8.5                       2000-01-31          XML::DOM::AttlistDecl(3)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30 mod_gzip/1.3.26.1a
Under GNU General Public License
2009-01-09 02:17 @38.103.63.58 CrawledBy CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
Valid XHTML 1.0!Valid CSS!