Re: php incluido en .xsl, .xhtml -- (sablotron) --> .php ¿cómo?

Javier Viñuales Gutiérrez <[email protected]>
Newsgroups gmane.linux.debian.internationalization.laespiral
Message-ID <1033036534.15264.25.camel@yaco>
El jue, 26-09-2002 a las 12:16, Ibon Urretavizcaya escribió:
> Prueba esto... nunca lo he utilizado, pero en teoria debería ser algo así:
> 
> <xsl:processing-instruction name="php">
> 	$FICHERO="cargardf.php";
> 	require($FICHERO);
> </xsl:processing-instruction>

¡Casi! X-D

Ahora si hago un less al .php, veo que ha incluido:

<?
 	$FICHERO="cargardf.php";
 	require($FICHERO);
>

Osea, que por alguna estraña razón, quita el "?" y si lo pongo después
del ";" de la última orden php, me da un error dado que el "?" y el ">"
han de ir seguido y en otra línea diferente a ";" :-?
 
> Y aprovecho para hacer algo de autobombo de:
> 
> XSLT Mini COMO
> http://xml.utilitas.org/xslt_mini_como.html

Buena cosa, a mis marcadores del tirón :-)
Gracias.
-- 
Javier Viñuales Gutiérrez <[email protected]>
Ingeniero Industrial - YACO S.L.   
Albareda 24, 41001 Sevilla - España
Tfno: 954293600	FAX: 954210326
GnuPG public key: 	  http://db.debian.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.