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

  • Home
  • SEARCH
  • 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 197199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:49:56+00:00 2026-05-11T16:49:56+00:00

Technology: Dot Net, ASP.Net We have articles stored in XML repository and article contains

  • 0

Technology: Dot Net, ASP.Net

  • We have articles stored in XML repository and article contains multiple sections.

  • These XML files are transformed to HTML using XSLT for browser rendering.

  • New requirement is to allow users to comment on each section (not on the article!) and when the article is shown we also show the comments (but based his role/rights and in a collapsible/expandable widget)

  • Since comments are not directly related to article and also the same article can be shown in multiple sites; we will not be able to store comments along with article XML.

  • We plan to solve this by storing comments in a separate database with references and when transforming article XML using XSLT we will embedded a URLs to the comments in the generated html.

  • When user clicks on the comments widget, we use the embedded URL to fetch the comments using Asynchronous calls from the web server and show it in the expanded div area

This sounds very complex to us and not sure if this will work.

Please let me know if this can be archived? or suggest a better way to archive this. THX

  • 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-05-11T16:49:56+00:00Added an answer on May 11, 2026 at 4:49 pm

    It can certainly be done that way. You needn’t even wait for a user to click the comment widget. Look at jQuery (http://www.jquery.com). It has ajax routines for loading pages piecemeal like a mashup (see http://docs.jquery.com/Ajax and http://docs.jquery.com/Ajax/load#urldatacallback).

    However, why not add a second transformation for pages with comments that includes the comments data? Most XSLT libraries worth their salt let you set parameter and variable values.

    I would not (as the previous poster suggested) use an iframe. They are ugly and a pain to work with in javascript. If you go the async route, use something akin to jQuery’s load method, injecting HTML into a page.

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

Sidebar

Related Questions

I am new to working on Android technology. I have to read XML files
Technology Used:- Asp.Net 2.0 Code:- See Below Description:- hello code given below is working
I'm using this technology to manage my XML files as Databases. When I do
Which technology has the most market share among the line-of-business applications. Is it ASP.NET?
Technology: .NET 4, C#, WinForms, Visual Studio 2010 I have run into an issue
I have a large set of XML files of a propriatary schema -the XML
Technology used: .NET 2008, C#, winforms So I currently have an issue. I have
I am using liferay technology and trying to retrieve data from xml file in
Just a technology update, now that .NET 4.0 is out. I write an application
Technology Stack: .NET 4, C#, NUnit I am attempting to apply test driven development

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.