I think that CDATA is special enough as to have its own handler, I mean that
it should be equivalent to 'structure'. Since TAL should output XML valid
documents, having a way to specify a CDATA section seems logical.
ie: script tal:content=cdata myJsCode/script
pre tal:content=cdata
On 14-10-2008 at 10:53:58 Iván -DrSlump- Montes [EMAIL PROTECTED]
wrote:
I think that CDATA is special enough as to have its own handler, I mean
that it should be equivalent to 'structure'. Since TAL should output XML
valid
documents, having a way to specify a CDATA section seems logical.
On 14-10-2008 at 10:08:15 Ernesto Baschny [cron IT] [EMAIL PROTECTED]
wrote:
It would be cool to have a tal:cdata= boolean value, where one could
switch on generation of CDATA wrapping automatically, so one could write:
script tal:content=structure myJsCode tal:cdata=true/script
And doesn't
Le mardi 14 octobre 2008 à 09:55 +0100, Kornel Lesiński a écrit :
On 13-10-2008 at 21:22:26 Iván -DrSlump- Montes [EMAIL PROTECTED]
wrote:
prefix the content with the 'structure' keyword, it will use the value
verbatin.
script tal:content=structure myJsCode/script
This may make
On 13-10-2008 at 21:22:26 Iván -DrSlump- Montes [EMAIL PROTECTED]
wrote:
prefix the content with the 'structure' keyword, it will use the value
verbatin.
script tal:content=structure myJsCode/script
This may make XHTML ill-formed if there's any or in the script.
script/*![CDATA[*/
Kornel Lesiński wrote: on 14.10.2008 10:55:
prefix the content with the 'structure' keyword, it will use the value
verbatin.
script tal:content=structure myJsCode/script
This may make XHTML ill-formed if there's any or in the script.
script/*![CDATA[*/
${structure myJSCode}
Hi,
I want to write a dynamic JS content into the script/scriptbalise.
A simple : alert(Hello World)
But the problem is PHPTAL replace all quotes (simple or double quote) by
HTML entities.
How can I do ?
Thanks
___
PHPTAL mailing list
prefix the content with the 'structure' keyword, it will use the value
verbatin.
script tal:content=structure myJsCode/script
ciao,
/imv
On Mon, Oct 13, 2008 at 10:13 PM, Guillaume Lecanu [EMAIL PROTECTED] wrote:
Hi,
I want to write a dynamic JS content into the script/scriptbalise.
A
Le lundi 13 octobre 2008 à 22:22 +0200, Iván -DrSlump- Montes a écrit :
prefix the content with the 'structure' keyword, it will use the value
verbatin.
script tal:content=structure myJsCode/script
This working fine, thanks you for this very quick reply !
ciao,
/imv
On Mon, Oct 13,
script language=javascript
![CDATA[
javascript blah
]]
/script
Guillaume Lecanu wrote:
Hi,
I want to write a dynamic JS content into the script/scriptbalise.
A simple : alert(Hello World)
But the problem is PHPTAL replace all quotes (simple or double quote) by
HTML entities.
How can I
10 matches
Mail list logo