public static function loadString( $xmlString )
    {
        $xmlFile = tempnam( self::getSysTempDir(), 'xml_' );
        file_put_contents( $xmlFile, $xmlString );
        $xml = self::parseXml( $xmlFile );
        unlink( $xmlFile );
        return $xml;
    }
public static function loadString( $xmlString )
    {
        $xmlFile = tempnam( self::getSysTempDir(), 'xml_' );
        file_put_contents( $xmlFile, $xmlString );
        $xml = self::parseXml( $xmlFile );
        unlink( $xmlFile );
        return $xml;
    }
public static function loadString ( $ xmlString ) { $ xmlFile = tempnam ( self :: getSysTempDir ( ) , 'xml_' ) ; file_put_contents ( $ xmlFile , $ xmlString ) ; $ xml = self :: parseXml ( $ xmlFile ) ; unlink ( $ xmlFile ) ; return $ xml ; }
Create XML document from string

@param string $xmlString
@return Document
Create XML document from string