> I need to create a multilingual website and my framework already gives me
> XHTML 1.0 Strict doesn't allow inline script, I must use external .js file.
> The problem is in these scripts, there are strings that needs to be
> translated as well. How can I make PHP parse these scripts as well? Or are
> there alternative approaches?
I don't see why you can't use inline script in XHTML 1.0 Strict: just put the
script in CDATA sections, like
That seems to validate fine in XHTML 1.0 Strict for me...
Peter Ford phone: 01580 893333
Developer fax: 01580 893399
Justcroft International Ltd., Staplehurst, Kent
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php