Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : XMLReader functions : XMLReader::XML

XMLReader::XML

Set the data containing the XML to parse ()

XMLReader{
boolxml(stringsource,
stringencoding,
intoptions);

}

Set the data containing the XML to parse.

Parameters

source

String containing the XML to be parsed.

encoding

The document encoding or NULL.

options

A bitmask of the XMLReader Options constants.

Return Values

Returns TRUE on success or FALSE on failure.

ChangeLog

Version Description
5.2.0 encoding and options were added.

Related Examples ( Source code ) » xmlreader xml
















Change Language


Follow Navioo On Twitter
XMLReader::close
XMLReader::expand
XMLReader::getAttribute
XMLReader::getAttributeNo
XMLReader::getAttributeNs
XMLReader::getParserProperty
XMLReader::isValid
XMLReader::lookupNamespace
XMLReader::moveToAttribute
XMLReader::moveToAttributeNo
XMLReader::moveToAttributeNs
XMLReader::moveToElement
XMLReader::moveToFirstAttribute
XMLReader::moveToNextAttribute
XMLReader::next
XMLReader::open
XMLReader::read
XMLReader::setParserProperty
XMLReader::setRelaxNGSchema
XMLReader::setRelaxNGSchemaSource
XMLReader::XML
eXTReMe Tracker