getDataValue()->getValue() ); if ( $renderer->checkTeX() && $renderer->render() ) { $mml = $renderer->getMathml(); } else { $err = $renderer->getLastError(); $mml = "$err"; } $writer->say( $propertyValueNamespace, $propertyValueLName ) ->value( $mml, 'http://www.w3.org/1998/Math/MathML' ); } }