Пример #1
0
 public ActionResult ConvertToXML(string txtInputText)
 {
     ViewBag.ParsedText = CustomXmlParser.ToXml(txtInputText);
     ViewBag.Mode       = "xml";
     return(View("Index"));
 }
Пример #2
0
 protected void btnConvertToXML_Click(object sender, EventArgs e)
 {
     txtResultXML.Text = CustomXmlParser.ToXml(txtInputText.Text);
 }