Nick Pack wrote:
I’ve built a template/associated code for generating an RSS feed from a
recordset, im having some trouble with the link attribute and I wondered
if anyone could shed some light on a workaround.
In my template I have tried both:
Both methods result in the following output after the template is parsed
(The dataset definitely contains article/articelink as the same function
is used with a different template for xhtml output):
PHPTAL is by default configured to output XHTML and try to clean up
empty elements like LINK.
To modify this behaviour, You just have to add
before executing your template and PHPTAL will treat it as a regular XML
document and won't modify your elements.
PHPTAL mailing list