![]() |
|
||||||||||
|
SimpleXMLElement->registerXPathNamespace()(no version information, might be only in CVS) SimpleXMLElement->registerXPathNamespace() -- Creates a prefix/ns context for the next XPath queryОписаниеclass SimpleXMLElement {bool registerXPathNamespace ( string prefix, string ns ) } Creates a prefix/ns context for the next XPath query. In particular, this is helpful if the provider of the given XML document alters the namespace prefixes. registerXPathNamespace will create a prefix for the associated namespace, allowing one to access nodes in that namespace without the need to change code to allow for the new prefixes dictated by the provider. Список параметров
Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. Примеры
SimpleXMLElement->registerXPathNamespace() There are no user contributed notes for this page. |