Skip to main content

copy_foreign_attributes

Function copy_foreign_attributes 

Source
pub fn copy_foreign_attributes(target: &mut Node, source: &Node)
Expand description

Copy foreign-namespace attributes from source to target.

“Foreign” means attributes with a namespace prefix (contains ‘:’) but NOT xml:* attributes.

Port of Processor::copy_foreign_attributes.