Click to See Complete Forum and Search --> : How to insert/include a page into another page in html/xsl...?


ja4world
03-22-2005, 04:07 AM
Someone please guide me how to insert/include a page into another page in html/xsl.
In my page I have to add one header and left hand navigation bar but both are from different sites and I have to add that urls directly or render it in my page.
I need some functionality like jsp:include in html/xsl.

I am so thankful if someone help me asap.
-- jas

Jona
03-22-2005, 09:52 AM
Neither HTML, XHTML nor JavaScript can do this. If you have JSP, you might ask your question in the Java forum (NOT the JavaScript forum, mind you).

PeOfEo
03-22-2005, 12:25 PM
also if you have SSI, ASP, PHP, CGI, ASP.NET you can include with those.

The server actually goes into the other file and takes all of its comments and puts it back in the original file where the include code is and then sends the new creation to the user. Since the server must parse the file the include must be done with a server side technology

MstrBob
03-22-2005, 02:06 PM
I'd like to point out that it IS possible with a markup language. You can extend the DTD to include an entity, no? However, IE only understands this for pure XML pages, and Mozilla doesn't get it at all. Right, server side is your best choice.