Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7727715
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:31:46+00:00 2026-06-01T05:31:46+00:00

I want some static pages of application to be rendered from XML i.e. i

  • 0

I want some static pages of application to be rendered from XML i.e. i am planning to have a base page and xml containing structure of the page and xslt which will be transforming this xml to html and at runtime i will be rendering this html to my view and displaying this view
Is there any way/ example for doing the same. Please help
Here is the sample xml

     <!DOCTYPE html>
   <html>
     <head>
   <title>Create</title>
  <script src="/Scripts/jquery-1.5.1.min.js" type="text/javascript" />
        <link href="/Content/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
      <link href="/Content/Site.css" rel="stylesheet" type="text/css" />
        <script src="/Scripts/jquery-ui.js" type="text/javascript" />
        <script src="/Scripts/jquery.validate.min.js" type="text/javascript" />
      <script src="/Scripts/jquery.validate.unobtrusive.min.js" type="text/javascript" />
<script src="/Scripts/jquery.unobtrusive-ajax.js" type="text/javascript" />

     </head>
     <body>
 <div id="menucontainer">
  <ul id="menu">
    <li>
      <a href="/">Rutu</a>
    </li>
    <li>
      <a href="/Employee">Employee</a>
    </li>
  </ul>
</div>
<h2>Create</h2>
<script src="/Scripts/jquery.validate.min.js" type="text/javascript" />
<script src="/Scripts/jquery.validate.unobtrusive.min.js" type="text/javascript" />
<form action="/Employee/Create" method="post">
  <fieldset>
    <legend>EmployeeDetailsModel</legend>
    <div class="editor-label">
      <label for="EmpName">EmpName</label>
    </div>
    <div class="editor-field">
      <input class="text-box single-line" id="EmpName" name="EmpName" type="text" value="" />
      <span class="field-validation-valid" data-valmsg-for="EmpName" data-valmsg-replace="true" />
    </div>
    <div class="editor-label">
      <label for="DeptId">DeptId</label>
    </div>
    <div class="editor-field">
      <input class="text-box single-line" data-val="true" data-val-number="The field  DeptId must be a number." data-val-required="The DeptId field is required." id="DeptId" name="DeptId" type="text" value="" />
      <span class="field-validation-valid" data-valmsg-for="DeptId" data-valmsg- replace="true" />
    </div>
    <p>
      <input type="submit" value="Create" />
    </p>
   </fieldset>
</form>
<div>
  <a href="/Employee">Back to List</a>
</div>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:31:47+00:00Added an answer on June 1, 2026 at 5:31 am

    There is a good blog post here that describes how to create an HTML Helper to render the XSLT in a view. You just call the helper class from your view passing in the path to the XSLT and the XML. I have modified this helper so that you can also pass the XSLT and XML as strings to achieve the same results.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose I have some pointer, which I want to reinterpret as static dimension array
nginx is handling all static page requests, but from within my fastcgi application I
I have an ASP.NET application where I want to set some additional HTTP headers
In my application,I want to display some static files(.html,.htm,.txt) which will be uploaded by
I have a Yesod form for editing the contents of some static pages which
I have a site with some static pages that lie in à folder called
I am having a simple web application which has some static pages. The URL
The context I have an Asp .Net web application with some pages that inherit
My application has some static content: root :to => 'pages#home' match '/about', :to =>
At the root of my site... www.domain.com . want to add some static pages

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.