XML_Util::splitQualifiedName

XML_Util::splitQualifiedName()

XML_Util::splitQualifiedName() -- split qualified name

Description

Splits a qualified name and returns array with namespace and local part.

Parameter

  • string $qname - qualified tag name (e.g. xsl:stylsheet)

  • string $defaultNs - default namespace, will be used in return value, if qualified name contains only a local part

Return value

array assoc array containing namespace and local part of the tag

Note

This function should be called statically.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.