Unlike the xmlTree and xmlWriter APIs, a xmlReader must be started from a source, either a file or a string. Both can take parsing options to affect the data that's read.
xmlTree
xmlWriter
xmlReader
SEE ALSOxmlReaderNewFromFile, xmlReaderNewFromString
xmlReaderNewFromFile
xmlReaderNewFromString