[Mediawiki-l] XHTML generation
NSK
nsk2 at wikinerds.org
Thu Feb 17 20:00:30 UTC 2005
On Thursday 17 February 2005 21:19, Brion Vibber wrote:
> Thank you for your opinion. It will be dutifully studied, found wanting,
> and discarded.
But I'm sure experienced programmers will agree with me.
> For the people in the audience who are interested in accuracy, note that
> XML allows attribute values to be quoted either with double quotes or
> single quotes. Here's the formal lexical definition[1]:
Yes, it allows that, but not both in the same document.
> Since strings in PHP source code are themselves usually either single or
> double-quoted, instances of the same quote character within the string
> must be escaped with a backslash to appear as a literal character.
You can use heredoc syntax.
--
NSK
http://portal.wikinerds.org
More information about the MediaWiki-l
mailing list