Click to See Complete Forum and Search --> : Internal Links in XSL


anandkumar_c
04-22-2003, 08:51 AM
Hi,
I have a HTML page with two frames(main.html). The left frame has a link and when i click on the link a new XML/XSL page will be loaded in the right frame. I have implemented this.
The XML/XSL page has internal links. When i click on a internal link, it takes me to the correct linking location. Then, on clicking the back button on the browser, it does not go the anchor tag's location but instead loads the main.html file. Can you tell me how to implement this
Thanx in advance
Anand

khalidali63
04-22-2003, 01:13 PM
Seems like some problme in implementation of the internal links..
take a look at this demo page and see the logic for internal navigation...

http://68.145.35.86/skills/javascripts/frames/InternalNavigation-main.htm

anandkumar_c
04-30-2003, 11:06 PM
Hi Khalid,
Thanx a lot for your time. Guess my Tech. Commn is very weak :-(. I didnt convey my requirement correctly. I will take your example and explain it to u.
The left frame has links to different XML pages.(Ex page1.xml,page2.xml etc) and this XML pages open with a XSL. When u click on First Link, Page1.xml gets loaded.

Code of page1.xml:

<xml version="1.0" href="xslfile.xsl">
<xsl:.......>
<message>
</message>

Only this is the code of page1.xml

In my xslfile.xsl,
<xsl:template match="/">
start
<pre>













middle of document
</pre>
<a href="#gotoend">end</a>
<pre>


















end
</pre>
</xsl:template>

Pls forgive me if the syntax is wrong. Now, when i click on the "end", it goes to the end of the document and when i click on the back button in browser, it lopads the whole page again(ie start of page is displayed) instead of "middle of the page"
Thanks again for your time. Hope i have made my doubt clearly.

khalidali63
04-30-2003, 11:11 PM
can you email me the xsl and xml files or better yet post a link to your actual pages,if not then send me the whole thing so that I could mimic and see...