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 7744575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:48:02+00:00 2026-06-01T09:48:02+00:00

I am currently working on a small side-project in MVC3. The goal is to

  • 0

I am currently working on a small side-project in MVC3.
The goal is to make a personalized schedule (school).
When users login, they should be able to review their schedule.

The XML with data is already delivered by an other programmer.
A sample XML is found here http://hrooster.leonmastenbroek.nl/student-current.xml

I’ve managed to deserialize the XML to an object by creating a class with the “xsd.exe” tool.
But honestly I don’t know if that is useful 🙂

Now comes the question: How do you parse a XML file/object with a stylesheet (XSLT) into a Razor template?
As you can see there are a lot of attributes in the timetable node so there are a lot of references. I made a stylesheet to arrange the data properly, but I don’t have a clue how to combine it together.

Also it should be nested in a jQuery Mobile content div. And the XML is delivered by URL to me.

  • 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-01T09:48:03+00:00Added an answer on June 1, 2026 at 9:48 am

    There are several different ways. If you the .NET Framework using Linq to XML to parse the XML into objects then XSLT is not really needed as you have already transformed the XML.

    You can just transform the XML so that it created something like the following,

    <description>@item.Description</description>

    the @ is the prefix to the variable names.

    If I was using XSLT I would be looking to create an HTML file of the data, I would then just output the HTML using Razor.

    This may help,

    How to apply an XSLT Stylesheet in C#

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

Sidebar

Related Questions

I am currently working on a small ASP.NET project involving authentication of users against
I am currently working on a small ASP.NET project involving authentication of users against
I am currently working on a small ecommerce project. I want to show a
I am currently working on a small personal multiplayer game project. I am using
I'm currently working on a small project to learn Linq where I want to
I'm currently working on a small short-lived project. But despite the size it's complicated
I am currently working on a small app engine project with python, jquery. I
I'm currently working on a small project and would like some help on it.
I'm currently working on a small project: there's a protocol for sending some strings
I am currently working on a small project where I want to split an

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.