private QilNode CompileMessage(XslNode node)
{
string baseUri = _lastScope.SourceLine.Uri;
QilNode content = _f.RtfCtor(CompileInstructions(node.Content), _f.String(baseUri));
//content = f.ConvertToString(content);
content = _f.InvokeOuterXml(content);
// If terminate="no", then create QilNodeType.Warning
if (!(bool)node.Arg)
{
return _f.Warning(content);
}
// Otherwise create both QilNodeType.Warning and QilNodeType.Error
QilIterator i;
return _f.Loop(i = _f.Let(content), _f.Sequence(_f.Warning(i), _f.Error(i)));
}