Andreas Schlegel wrote:
> ok, I have to replace the HTML tags <, >, &, " - or are there much more
> characters to replace?

Attribute values quoted using a single quote (') must escape
occurrences of single quotes with &apos;. And attribute values
that quoted using a double quote (") must escape occurrences
of double quotes with &quot;. For example:

  <root single='Don&apos;t' double="say &quot;Hi&quot;"/>

But single and double quotes don't have to be escaped in 
character content. So the following is OK:

  <root>Don't say "Hi"</root>

In short:

  Attributes - <, &, and (' or ", depending on what quote was used)
  Content    - < and &

-- 
Andy Clark * [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to