Re: [SMARTY] Problem parsing xml link with _GET parameters.

[email protected] (Tony)
Newsgroups php.smarty.general
Message-ID <[email protected]>
Changing &#38; to &amp; (and &#61; to =)...

<link>www.domain.com/index.php?A=1&amp;B=2&amp;C=3</link>

results in:

<a href="http://www.domain.com/index.php?A=1">LINK</a>
<a href="http://&">LINK</a>
<a href="http://B=2">LINK</a>
<a href="http://&">LINK</a>
<a href="http://C=3">LINK</a>

On 1/9/06, Denis Gerasimov <[email protected]> wrote:
> Hello,
>
> > <link>www.domain.com/index.php?A=1&B=2&C=3</link>
>
> XML requires "&" to be encoded this way:
>
> <link>www.domain.com/index.php?A=1&amp;B=2&amp;C=3</link>
>
> HTH
>
> Best regards,
> Denis Gerasimov
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
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.