How to Read CSHTML as XML file in C#

r0bsN

New Member
i have a cshtml file in this file i have a hidden field and static value.i want to read it as a XML file to find the hidden field.as a matter of fact , i don't like open it as text file and search into it.\[code\]this is a part of my file and i want to read hidden file <!DOCTYPE html><html><head> <meta charset="utf-8" content="Soha Application" /> <title>@ViewBag.MeetingTitle</title> <link href="http://stackoverflow.com/questions/10818494/@Url.Content("~/Content/themes/Default/main.css")" rel="stylesheet" type="text/css" /> <link href="http://stackoverflow.com/questions/10818494/@Url.Content("~/Content/themes/Default/fa-IR.css")" rel="stylesheet" type="text/css" /> <script src="http://stackoverflow.com/questions/10818494/@Url.Content("~/Scripts/jquery-1.7.2.min.js")" type="text/javascript"></script> <script src="http://stackoverflow.com/questions/10818494/@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script> <script src="http://stackoverflow.com/questions/10818494/@Url.Content("~/Scripts/jquery.unobtrusive-ajax.min.js")" type="text/javascript"></script></head><body> <div class="page"> <header> **<input id="SkinId" type="hidden" value="http://stackoverflow.com/questions/10818494/008BBF4768861284321640F895D68DA1" /> <!-- Please dont change this Code -->** <div id="title"> <h1>@ViewBag.MeetingTitle</h1> </div> <nav> </nav> </header>\[/code\]
 
Back
Top