XML_Util::splitQualifiedName

XML_Util::splitQualifiedName() – split qualified name

Synopsis

require_once 'XML/Util.php';

array XML_Util::splitQualifiedName ( string $qname , string $defaultNs = null )

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.

replace XML entities (Previous) XML_XRD (Next)
Last updated: Sun, 19 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.