Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: xmlTextWriter? Not gettin output in browser ?


Message #1 by "Rohit Arora" <rohit_arora@i...> on Tue, 28 Jan 2003 11:56:17 +0530
Can anybody point whtz rong wid this code. It is giving value in Immediate
Window, also looping through the code.But is not displayin data in browser.
???

---------------------------------------------------------
		while (xmlTextReader.Read())
			{
				if(xmlTextReader.NodeType == XmlNodeType.Element)
				{
					Response.Write("<" + xmlTextReader.Name);
					while (xmlTextReader.MoveToNextAttribute())
					{
						// Read attributes
						Response.Write(" " + xmlTextReader.Name + "='" + xmlTextReader.Value +
"'");
					}
					Response.Write(">");
				}
			}
----------------------------------------------------------
Regards
Rohit Arora


  Return to Index