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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:01:27+00:00 2026-06-05T17:01:27+00:00

I am new to web programming and Visual Web Developer. I have made a

  • 0

I am new to web programming and Visual Web Developer. I have made a page that prompts the user for input and then this input replaces the prompts using InnerHTML accesses. Thus the table can only be edited the first time it is displayed. It is the final, edited version of the HTML that I want others to be able to access. So I need a way to write the edits out to an XML file. I understand that this can be done with LINQ but I haven’t figured out how to do it.

Any advice is appreciated.

Regards.

  • 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-05T17:01:29+00:00Added an answer on June 5, 2026 at 5:01 pm

    Here’s an example I found online at: http://www.hookedonlinq.com/LINQtoXML5MinuteOverview.ashx. You should be able to figure it out if you compare the LINQ to XML code with the file output.

    Code:

    XDocument doc = new XDocument(
        new XDeclaration("1.0", "utf-8", "yes"),
        new XElement("rss", 
            new XAttribute("version", "2.0"),
            new XElement ("channel",
                new XElement("title", "RSS Channel Title"),
                new XElement("description", "RSS Channel Description."),
                new XElement("link", "http://aspiring-technology.com"),
                    new XElement("item",
                    new XElement("title", "First article title"),
                    new XElement("description", "First Article Description"),
                    new XElement("pubDate", DateTime.Now.ToUniversalTime()),
                    new XElement("guid", Guid.NewGuid())),
                new XElement("item",
                    new XElement("title", "Second article title"),
                    new XElement("description", "Second Article Description"),
                    new XElement("pubDate", DateTime.Now.ToUniversalTime()),
                    new XElement("guid", Guid.NewGuid()))
                )
            )
         );
    

    doc.Save(@”c:\sample.xml”);

    file:

    <rss version="2.0">
      <channel>
        <title>RSS Channel Title</title>
        <description>RSS Channel Description.</description>
        <link>http://aspiring-technology.com</link>
        <item>
          <title>First article title</title>
          <description>First Article Description</description>
          <pubDate>2006-12-05T20:53:53.53125</pubDate>
          <guid>ff7bbf19-9155-4773-913c-767bcbf09904</guid>
        </item>
        <item>
          <title>Second article title</title>
          <description>Second Article Description</description>
          <pubDate>2006-12-05T20:53:53.5625</pubDate>
          <guid>8a3fd5e8-b99f-49fe-8a43-7fb62d80c18c</guid>
        </item>
      </channel>
    </rss>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to web programming and I have the following form that I wish
I am new to web programming (C# in Visual Web Developer) and my non-C
I'm new to web programming in general so this is probably a really simple
I am new to web programming...I have been asked to create a simple Internet
I'm new to Django and Web programming in general. Have googled but could not
I'm new to JSF programming and have designed a rather simplistic JSF 2.0 web
I'm a bit new to web-programming. Using DHTML 3.0 Visual Designer I created a
I'm relatively new to web programming. New to Javascript, PHP, Ajax, etc. I have
I am new to Web Programming and I hear that there are many biggies
I am fairly new to web programming, I have mainly used java to create

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.