Method

PurpleXmlNodestrip_prefixes

since: 3.0

Declaration [src]

void
purple_xmlnode_strip_prefixes (
  PurpleXmlNode* node
)

Description [src]

Remove all element prefixes from an PurpleXmlNode tree. The prefix’s namespace is transformed into the default namespace for an element.

Note that this will not necessarily remove all prefixes in use (prefixed attributes may still exist), and that this usage may break some applications (SOAP / XPath apparently often rely on the prefixes having the same name.

Available since: 3.0