w3schools
  
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About

XML DOM renameNode() Method


Document Object Reference Complete Document Object Reference

Definition and Usage

The renameNode() method renames an existing element or attribute node.

When possible, this changes the name of the given node, otherwise this creates a new node with the specified name and replaces the existing node with the new node.

This method returns the renamed node.

Syntax

renameNode(node,uri,name)

ParameterDescription
nodeThe element or attribute node to rename
uriA string that specifies the new namespace name
nameA string that specifies the new name


Document Object Reference Complete Document Object Reference

DreamTemplate


WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
Top Web Hosting
Windows Hosting
WEB BUILDING
XML Editor – Free Trial!
FREE Flash Website
FREE Web Templates
FLIGHT TICKETS
Find the cheapest flight
to any destination now!
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
STATISTICS
Browser Statistics
Browser OS
Browser Display