xmlReaderRead

SYNOPSIS

int xmlReaderRead(xmlReader reader)

Parameters:

  • reader - the xmlReader object

Returns:

  • 1 - the next node was read successfully

  • 0 - there are no more nodes to read

  • -1 - error


DESCRIPTION
xmlReaderRead() advances the xmlReader to the next node in the XML data.


EXAMPLE

<while (xmlReaderRead($reader) = '1')>
        <$name = (xmlReaderGetName($reader))>
        <$type = (xmlReaderGetType($reader))>
        On $name ($type)...
    </while>


SEE ALSO
xmlReaderMoveToAttribute, xmlReaderMoveToAttributeNumber, xmlReaderMoveToElement, xmlReaderMoveToFirstAttribute, xmlReaderMoveToNextAttribute


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.