src/XML/DOM/XPathQuery.php
public function loadUrl( $url )
	{
		$options	= array();
		foreach( $this->getOptions() as $key => $value )
			$options["CURLOPT_".strtoupper( $key )]	= $value;
		$xml	= Net_Reader::readUrl( $url, $options );
		if( !$xml )
			throw new Exception( 'No XML found for URL "'.$url.'".' );
		$this->loadXml( $xml );
		return true;
	}
public function loadUrl( $url )
	{
		$options	= array();
		foreach( $this->getOptions() as $key => $value )
			$options["CURLOPT_".strtoupper( $key )]	= $value;
		$xml	= Net_Reader::readUrl( $url, $options );
		if( !$xml )
			throw new Exception( 'No XML found for URL "'.$url.'".' );
		$this->loadXml( $xml );
		return true;
	}
public function loadUrl ( $ url ) { $ options = array ( ) ; foreach ( $ this -> getOptions ( ) as $ key => $ value ) $ options [ "CURLOPT_" . strtoupper ( $ key ) ] = $ value ; $ xml = Net_Reader :: readUrl ( $ url , $ options ) ; if ( ! $ xml ) throw new Exception ( 'No XML found for URL "' . $ url . '".' ) ; $ this -> loadXml ( $ xml ) ; return true ; }
Loads XML from URL.
@access		public
@param		string		$url			URL to load XML from
@return		bool
@todo		Error Handling
Loads XML from URL .