Changed extension method signature
Added more string comparisons
Extended to be useful without allocating a new array
Changed from switch to if-else for strings
Switching more methods away from using IsStartTag etc.