/// <summary>
/// Writes the markup attributes of the specified MarkupAttributes
/// object to the stream.
/// </summary>
/// <param name="mAtt">the MarkupAttributes to write.</param>
/// <returns></returns>
protected bool WriteMarkupAttributes(Properties markup)
{
if (markup == null) return false;
foreach (String name in markup.Keys) {
Write(name, markup[name]);
}
markup.Clear();
return true;
}