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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:01:38+00:00 2026-05-22T18:01:38+00:00

Instead of open an external web page into an iframe, I wonder if it’s

  • 0

Instead of open an external web page into an iframe, I wonder if it’s possible to “read” the external web HTML code like the DIV tags and there content to create a new HTML page with XSLT?

  • 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-22T18:01:39+00:00Added an answer on May 22, 2026 at 6:01 pm

    The below link is a sample that uses jQuery to read an XML file from the server and display the data on the page:

    • http://think2loud.com/reading-xml-with-jquery/
    • http://www.think2loud.com/examples/xml/

    It is important to note that the returned data is strict XML. You could also return JSON.

    I would strongly recommend using a framework (such as jQuery) to retrieve the data rather than use the XMLHttpRequest directly as there are numerous cross browser issues to consider. Also jQuery has a nice API for manipulating the DOM once you have retrieved the data.

    EDIT

    Below is an untested sample of how you could do something similar to the above example when retrieving an HTML file. Please note, I am glossing over some important jQuery functions. If you decide to go this route, you should read the Getting Started tutorial. In particular the bits about Selectors and Manipulation.

    // the get() function is used to retrieve a file
    jQuery.get(
    
        // the filename on the server is "somefile.html"
        "somefile.html",
    
        // the contents of "somefile.html" are passed to this function
        function(html) {
    
            // use jQuery to find all <p> tags and append them
            // to <div id="resultContainer">
            jQuery(html).find("p").each(function(ix, p) {
                jQuery("#resultContainer").append(p);
            });
        },
    
        // lets jQuery know the file type we are retrieving is an HTML file
        "html"
    );
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

my target slideToggle() div needs to be display:inline-block instead of display:block when it's open.
We've built what is called a one page web app(a single html page +
Here's what I have: A web application that runs in a single HTML page
I have successfully done code to display pdf file in browser instead of open
How would I open a pdf from url instead of from the disk Something
$('a').live('click',function(e){ e.preventDefault(); var id = $(this).attr('id'); infowindow2.open(map, marker2); // I need instead of 2
Instead of prefixing id's in xml, is it possible to specify the particular layout
Instead of having nested callbacks in JS, I would like to fire and listen
i want to do the following: open a web browser on my local network.
I'd like to be able to convert specific textareas on a page to be

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.