public static function innerXML(DOMElement $element)
	{
		// Serialize the XML then remove the outer element
		$xml = $element->ownerDocument->saveXML($element);
		$pos = 1 + strpos($xml, '>');
		$len = strrpos($xml, '<') - $pos;

		// If the template is empty, return an empty string
		return ($len < 1) ? '' : substr($xml, $pos, $len);
	}
public static function innerXML(DOMElement $element)
	{
		// Serialize the XML then remove the outer element
		$xml = $element->ownerDocument->saveXML($element);
		$pos = 1 + strpos($xml, '>');
		$len = strrpos($xml, '<') - $pos;

		// If the template is empty, return an empty string
		return ($len < 1) ? '' : substr($xml, $pos, $len);
	}
public static function innerXML ( DOMElement $ element ) { // Serialize the XML then remove the outer element $ xml = $ element -> ownerDocument -> saveXML ( $ element ) ; $ pos = 1 + strpos ( $ xml , '>' ) ; $ len = strrpos ( $ xml , '<' ) - $ pos ; // If the template is empty, return an empty string return ( $ len < 1 ) ? '' : substr ( $ xml , $ pos , $ len ) ; }
Get the XML content of an element

@private

@param  DOMElement $element
@return string
Get the XML content of an element