Yep, that's what I was looking for.
It's still a bit ugly:
<input type="text" value="" />
{ ' ' }
<select>
<option>One</option>
<option>Two</option>
</select>
{ ' ' }
<input type="submit" value="Go" />
But it's better than something like:
<input type="text" value="" /> <select>
<option>One</option>
<option>Two</option>
</select> <input type="submit" value="Go" />
Much thanks,
Eric
Florent Georges wrote:
Florent Georges wrote:
In the later example, white space nodes around the curly braces and
the span element are discarded. In the former example, the text node
between the curly braces and the span element is not a white space
node
anymore, because of the non-breakable space character. So it is
added
to the result tree.
Oh, and I forgot... You should be able to get what you want using
this (not tested):
<p>
{ <b>hi</b> }
{ ' ' }
<span class="blah">there</span>
</p>
Regards,
--drkm
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://xqzone.com/mailman/listinfo/general