Re: [SMARTY] Sections and XHML
| From: | Jason Sweat | Date: | Wed, 08 May 2002 21:05:22 +0000 |
| Subject: | Re: [SMARTY] Sections and XHML | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-4096@lists.php.net to get a copy of this message | ||
It is my (admittedly limited) understanding of XML
that it ignores parsing ruled for CDATA info, by
changing the delimiters, I thought it might be a
workaround.
Jason
--- Monte Ohrt <monte@ispi.net> wrote:
> The delimiters are not the only problem...
> attributes are not
> necessarily XML/XHTML compliant.
>
> It seems reasonable that making the template
> language XML compliant
> would extend the livelyhood of the language. But
> since a change like
> this would be a major undertaking, I'd like to base
> this on cold hard
> evidence that it would actually be helpful, not just
> because it seems
> like a good idea.
>
> Monte
>
> Jason Sweat wrote:
> > This would be very ugly, but might work.
> > Could you instead change your Smarty delimiters to
> > something like
> >
> > <![CDATA[
> > and
> > ]]>
> >
> > That is not true. In the future I might want to
> run a
> > XSLT transform
> > on all of my Smarty templates to convert them to
> one
> > format or
> > another and I will not be able to do so before
> > converting them all to
> > valid XHTML.
> >
> > Brent
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Health - your guide to health and wellness
> > http://health.yahoo.com
> >
>
>
>
> --
> Monte Ohrt <monte@ispi.net>
> Director of Technology, ispi Inc.
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com