public override bool MoveToAttribute(string name)
 {
     if (entity != null && !entityInsideAttribute)
     {
         return(entity.MoveToAttribute(name));
     }
     if (!source.MoveToAttribute(name))
     {
         return(false);
     }
     if (entity != null && entityInsideAttribute)
     {
         CloseEntity();
     }
     insideAttribute = true;
     return(true);
 }