锚点如何在xsl中工作? [英] how anchors work in xsl?

查看:90
本文介绍了锚点如何在xsl中工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的菜单链接来自静态的xml.但是右侧的xml每次都会更改,具体取决于上一页中单击的链接.

my menu links are coming from an xml which will be static. but my xml on right side will change every time depending on the link that was clicked on last page.

让我解释一下: 我有一个页面,在正确的框架上,我只有几个链接,例如a,b,c,d. 当我单击a时,它将带我进入下一页(也分为2帧:左框架的内容是来自xml的菜单项,如果单击a和b,则右框架的内容将来自a.xml. .xml(如果单击了b).

let me explain: i've a page where on right frame, i've few links, say a, b ,c ,d. When i click on a, it will take me to next page (which is also divided into 2 frames : content for left frame are menu items coming from an xml, content for right frame will come from a.xml if a was clicked and b.xml if b was clicked.

现在,当在第一页上形成for时,我必须指定我的容器html的位置,该容器在下一页上保留2帧,并且我必须在其中传递'a'作为参数,以便正确的帧在下一页上可以调用a.xml.我将右框架的位置设置在容器html上.

now, when while forming the for a on first page, i've to specify the location of my container html holding 2 frames on the next page and i've to pass 'a' as a parameter in so that right frame on next page can call a.xml. I set the location of right frame in the container html on .

现在,我希望左侧框架上的菜单超链接应将我带到右侧框架上的所需部分.我还需要一种方法来读取在xsl中为左框架传递的url中的参数,以便它可以使我为右页更正xml.

Now, i want that my menu hyperlinks on left frame should take me to the desired section on right frame. I also need a way to read the parameter passed in url in my xsl for left frame so that it can take me to correct xml for right page.

推荐答案

Xsl不支持超链接,并且不理解URL.

Xsl has no support for hyperlinks and does not understand URL's.

您正在使用什么平台?您如何将Xsl转换为html?您可以更新问题并发布一些代码,以便我们更好地了解您要实现的目标吗?

What platform are you using? How are you transforming your Xsl to html? Can you update your question and post some code so we can better understand what you are trying to achieve?

这篇关于锚点如何在xsl中工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆