¿De qué forma puedo desplegar un document XML con Yii framework?
¡
Desplegar xml con yii?
Iniciado por
Cristian Moreno
, may 15 2014 21:47
#1 AUTOR PREGUNTA
Esto también te interesa!
#2
Publicado 16 mayo 2014 - 03:41
Debes capturar el XML y luego utilizar htmlentities para convertirlo a algo que HTML pueda interpretar:
<?php
public function actionView()
$output = $myXMLString;
$output = htmlentities($output);
$this->render('view',array(
'xmlString'=>htmlentities($output),
));
#3 AUTOR PREGUNTA
Publicado 16 mayo 2014 - 04:43
Gracias Felipe, no sabia que lo podia hacer así jeje