Sean Russell wrote:


>   element.text = "cats & dogs"
> 
> When you write out the element, '&' will be converted, and the entity will 
> be ignored.


which entity? do you mean the NCR?


> When you *read* an XML source, '&', '<', and '>' are converted to 
> '&', '<', and '>' automatically for you, for convenience;


what is output then? '&amp;', '&lt;', and '&gt;'
?

all other 
> entities are ignored.  Unquoted '&', '<', and '>' generate errors.


What does unquoted mean here? What would quoted and unquoted ones look like?

Tobi




-- 
Tobias Reif
http://www.pinkjuice.com/myDigitalProfile.xhtml

go_to('www.ruby-lang.org').get(ruby).play.create.have_fun
http://www.pinkjuice.com/ruby/