Package: cxml-stp

Function rename-attribute

Lambda List

rename-attribute (attribute prefix uri)

Arguments

  • attribute -- the attribute to be renamed
  • prefix -- string, an NCName
  • uri -- a string, the namespace URI

Return Value

the attribute

Details

This function changed namespace prefix and URI of an attribute.

Since there is no default namespace for attributes, prefix and uri must be changed in the same step to rename an attribute with no namespace to an attribute with both namespace prefix and URI.

 

See also