protected override QilNode VisitSequence(QilList ndSeq) {
if (XmlILConstructInfo.Read(ndSeq).ConstructMethod == XmlILConstructMethod.Writer) {
// Push each item in the list to output
foreach (QilNode nd in ndSeq)
NestedVisit(nd);
}
else {
// Empty sequence is special case
if (ndSeq.Count == 0)
VisitEmpty(ndSeq);
else
Sequence(ndSeq);
}
return ndSeq;
}