[Greasemonkey] e4x (say horray)

Edward Lee edilee at gmail.com
Thu Sep 8 23:05:51 EDT 2005


On 9/8/05, Jonas Galvez <jonasgalvez at gmail.com> wrote:
> Does it support multi-line XML strings?

Yes :) .. however {}'s are used to 'escape to javascript' so that
variables can be evaluated. It seems like all the whitespace is
preserved.

a.toXMLString()
<a href="test">
 <span class="oooh">la
lal</span>
</a>

-- 
Ed


More information about the Greasemonkey mailing list