473,322 Members | 1,719 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Embedding xml as remote obects into static html

Hi All,

Been reading post and thought this might be the right place to ask this.

I have some static html pages.
On hese pages there is an item that can and does change from day to day.
What i am looking to do is have a link to a remote server that has these
updates in an xml format.

eg
<html>
<head></head>
<body>
<table>
<tr>
<td>
Plain old text
</td>
<td>
<img src="http://www.aremoteserver.com/AABB.jpg" width="100" height="100"
border="0" alt="this is a picture that is updated regularly and my static
html need not change when it does">
</td>
<td>
<link to a text xml object on a remote server that may change also as above>
</td>
</tr>
</table>
</body>
</html>

Is there a simple method that anyone knows to pull what would be a text xml
item like <price>this is on remote server</price> off of a remote server?

Look forward to your responce with anticipation.

Kevin


Jul 20 '05 #1
1 1476


Kevin wrote:
I have some static html pages.
On hese pages there is an item that can and does change from day to day.
What i am looking to do is have a link to a remote server that has these
updates in an xml format.

eg
<html>
<head></head>
<body>
<table>
<tr>
<td>
Plain old text
</td>
<td>
<img src="http://www.aremoteserver.com/AABB.jpg" width="100" height="100"
border="0" alt="this is a picture that is updated regularly and my static
html need not change when it does">
</td>
<td>
<link to a text xml object on a remote server that may change also as above>
</td>
</tr>
</table>
</body>
</html>

Is there a simple method that anyone knows to pull what would be a text xml
item like <price>this is on remote server</price> off of a remote server?


Well, HTML has an <iframe> element to load another URL so you can
certainly do
<iframe src="whatever.xml">
<a href="whatever.xml">Some XML data</a>
</iframe>
The only problem is what you expect the browser to do with the XML. Is
the XML associated with a stylesheet? What type of stylesheet is that?
For instance Opera 7 supports styling XML with CSS but not with XSLT.

If you want to have a solution that works with all browsers then it is
probably best to use server side programming to fetch the XML, convert
it to HTML and insert that in your page.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Roose | last post by:
With some googling I have found these resources: http://docs.python.org/ext/win-dlls.html http://www.python.org/doc/faq/windows.html I have a large Win32/MFC/C/C++ application that has an...
2
by: Donnie Leen | last post by:
I wrote a program to test calling c function from python code embedding in c as following, it cause error after running a while(about 398 circle). I test it in msvc6, python2.3, windows 2k, could...
3
by: Blake McBride | last post by:
Greetings, I am embedding Spidermonkey in a C app. and I'm having trouble setting class (not instance) property values. For example, I am setting up the class as follows: static JSBool ...
0
by: hq4000 | last post by:
Given AStyleSheet.xsl : <AStyleSheet> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.mytest.mytest2.mytest3.com" version="1.0"> <xsl:output method="xml"...
6
by: Qun Cao | last post by:
Hi Everyone, I am a beginner on cross language development. My problem at hand is to build a python interface for a C++ application built on top of a 3D game engine. The purpose of this python...
3
by: dmoore | last post by:
Hi Folks: I have a question about the use of static members in Python/C extensions. Take the simple example from the "Extending and Embedding the Python Interpreter" docs: A simple module...
1
by: Kurious Oranj | last post by:
This may seem like a simple question to ask... I'm working on something that's going to have a centralised admin function and also allow users to embed a snapshot of their content on their own...
0
by: Tim Spens | last post by:
--- On Fri, 6/27/08, Tim Spens <t_spens@yahoo.comwrote: I think I know where the problem is but I'm unsure how to fix it. When I call Register_Handler(...) from python via...
0
by: sanjeewa19 | last post by:
Hi Forum, Im in the process of developing a mobile website.This is just a static website so Im using pure HTML in Dreamweaver with the DOCTYPE is set to XHTML Mobile 1.0 I have got a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.