锚点在 xsl 中如何工作?
我的菜单链接来自静态的 xml。但我右侧的 xml 每次都会根据上一页上单击的链接而更改。
让我解释一下: 我有一个页面,在右框架上,我有几个链接,比如 a、b、c、d。 当我点击 a 时,它将带我进入下一页(也分为 2 个框架:左框架的内容是来自 xml 的菜单项,如果单击 a 和 b,右框架的内容将来自 a.xml .xml 如果现在单击了 b,
则在第一页上形成 for a 时,我必须指定在下一页上保存 2 个框架的容器 html 的位置,并且必须将 'a' 作为参数传递这样下一页的右框架可以调用 a.xml。
现在,我希望左框架上的菜单超链接应该将我带到右框架上的所需部分。需要一种方法来读取左侧框架的 xsl 中 url 中传递的参数,以便它可以帮助我更正右侧页面的 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.
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.
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 .
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Xsl 不支持超链接并且不理解 URL。
您使用什么平台?您如何将 Xsl 转换为 html?您能否更新您的问题并发布一些代码,以便我们更好地理解您想要实现的目标?
Xsl has no support for hyperlinks and does not understand URL's.
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?