DOMDocument::createAttributeNS
  
   Create new attribute node with an associated namespace
  
  
 
  Description
  
   public DOMAttr DOMDocument::createAttributeNS
    ( string $namespaceURI
   , string $qualifiedName
   )
  
  
 
  Parameters
  
   
    - 
     namespaceURI
- 
      
       The URI of the namespace.
       
- 
     qualifiedName
- 
      
       The tag name and prefix of the attribute, as prefix:tagname.
       
 
 
  Return Values
  
   The new DOMAttr or FALSE if an error occurred.
  
  
 
  Errors/Exceptions
  
   
    - 
     DOM_INVALID_CHARACTER_ERR
- 
      
       Raised if qualifiedNamecontains an invalid character.
 
- 
     DOM_NAMESPACE_ERR
- 
      
       Raised if qualifiedNameis a malformed qualified
       name, or ifqualifiedNamehas a prefix andnamespaceURIisNULL.
 
 
 
  See Also
  
   
    -  DOMNode::appendChild
-  DOMDocument::createAttribute
-  DOMDocument::createCDATASection
-  DOMDocument::createComment
-  DOMDocument::createDocumentFragment
-  DOMDocument::createElement
-  DOMDocument::createElementNS
-  DOMDocument::createEntityReference
-  DOMDocument::createProcessingInstruction
-  DOMDocument::createTextNode