forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Koberg" <...@koberg.com>
Subject RE: including scripting in output files
Date Mon, 04 Nov 2002 11:43:06 GMT
Hi,

> -----Original Message-----
> From: Rodent of Unusual Size [mailto:Ken.Coar@Golux.Com]
> Sent: Monday, November 04, 2002 3:33 AM
> To: forrest-dev@xml.apache.org
> Subject: Re: including scripting in output files
>
>
> Jeff Turner wrote:
> >
> > >         <?php phpinfo(); ?>
> > >
> > > how do i represent this in the xml?
> >
> > &lt;?php phpinfo(); ?&gt;
>
> in a word: eeeew.  have you ever looked at a moderately complex php
> page?  it typically pops into and out of php mode ('<?' or '<?php'
> and '?>') dozens of times.  this is going to become disgusting in
> next to no time..  but if there's no real alternative.. :-(

Does PHP have an XML version, like JSP? You can write JSP in two ways the old
way similar to PHP and an XML version that is well-formed.

-Rob

>
> > Or for large blocks, <![CDATA[ <?php phpinfo(); ?> ]]>
>
> now, *that's* intuitive..
>
> as i find my way into it more, meseems forrest is intended for xml-aware
> programmers rather than content designers/developers.  true or false?
> your answers will affect your final grade.. :-)
>
>
> thanks for the info, btw.  is any of this documented in the forrest
> docs themselves?
>
>



Mime
View raw message