XMLReader from a string content XMLReader from a string content xml xml

XMLReader from a string content


XmlReader xmlReader = XmlReader.Create(new StringReader(YourStringValue));


The StringReader -> XmlReader approach is fine, you should stick to it. The reader reports none because it hasn't been read yet. Try calling Read() on it to see what happens then. The transformation will also call read on it.