xmlReaderGetName

SYNOPSIS

string xmlReaderGetName(xmlReader reader)

Parameters:

  • reader - the xmlReader object

Returns:

  • the full name of the current element or attribute


DESCRIPTION
xmlReaderGetName() returns the full name of the element or attribute the reader is currently on. This includes any namespace information, so calling it on <item> returns item, and calling it on <myns:item> returns myns:item. The prefix and local name can be retrieved individually through xmlReaderGetNsPrefix() and xmlReaderGetLocalName(), respectively.


EXAMPLE

<$name = (xmlReaderGetName($reader))>


SEE ALSO
xmlReaderGetAllContent, xmlReaderGetContent


Copyright © Thunderstone Software     Last updated: Oct 24 2023
Copyright © 2024 Thunderstone Software LLC. All rights reserved.