HTML link

J

Jim

Is there a simple link that you can put on a page which loads an HTML page
but also gets content from a seperate xml file. e.g. I would imagine it
would be something like this -

thispage.html?filename=content.xml
 
J

Johannes Koch

Jim said:
Is there a simple link that you can put on a page which loads an HTML page
but also gets content from a seperate xml file. e.g. I would imagine it
would be something like this -

thispage.html?filename=content.xml

If thispage.html was dynamically created by some server-side technology,
the creation process could be configured to behave like this.
 
B

Berislav Lopac

Johannes said:
If thispage.html was dynamically created by some server-side
technology, the creation process could be configured to behave like
this.

You could do it completely client side as well, using Javascript:
thispage.html would contain basically nothing except JS code (or a link to
an external JS file), which would take the filename set in the argument,
load the XML document and convert it (either via DOM or XSLT) into the HTML
to display. I've done that before, both for HTML pages and HTA's.

Berislav
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top