protected string ReadUrl() { string result = ""; while (true) { char? c = ReadNextChar(); if (c == null) break; if (c == '>') break; result += c; } return result; }