XSL / XML的奇怪的diplay问题 [英] Weird diplay problem with XSL / XML

查看:71
本文介绍了XSL / XML的奇怪的diplay问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好


你可能是我最后一次避免疯狂的机会


为了帮助你理解我的问题,我把图片放在网上显示

问题我有:
http: //www.australix.net/images/pb

我有一个包含链接的XML文件,我使用XSL文件使用thoses构建一个

菜单链接。

我的菜单中实际上有两个级别,因为链接是有条理的。

在部分内。


当菜单是加载后,只显示部分标题(参见

第一张图片)。

我点击一个标题标题,该部分的链接被显示

(见第二张图片),其他部分已关闭。


但是当我点击第二部分时,链接会显示为

应该是一个额外的和不需要的空间出现在f />
部分下面,带有af在该空间的底部显示的字母(第四部分的最后字母

标题)(h Engines)在

第三张图片上。

其他部分都工作正常。


我已经显示了页面的来源如果我搜索字符串

" Engines",我只得到一个结果,这是常规的第四部分

标题。此外,我不能高亮显示附加文字,但如果我

高亮常规版本,另外一个也会突出显示。

如果我尝试删除其中一个或另一个部分从xml文件中,我得到

与另一部分同样的问题,甚至有时候2个!


我已经尝试了一切,我找不到

之间的任何逻辑关系我做的改变和我得到的结果。


有没有人见过这样的东西?


感谢您的帮助!


Luc

Hi Guys

You are probably my last chance to avoid getting crazy

To help you understand my problem I have put images online showing the
issue I have:
http://www.australix.net/images/pb
I have an XML file containing links and I use an XSL file to build a
menu using thoses links.
There is actually 2 levels in my menu as the links are organised
within sections.

When the menu is loaded, only the section headers are shown (see the
first image).
I you click on a section header, the links of the section are diplayed
(see the second image) and the other sections are closed.

But when I click on the second section, the links are displayed as it
should be but an additional and unwanted space appears below the fouth
section, with a few letters (the last letters of the fourth section
header) displayed at the bottom of this space ("h Engines" on the
third image).
The other sections are all working fine.

I have displayed the source of the page and if I search for the string
"Engines", I get only one result which is the regular fourth section
header. Moreover I can''t hightlight the additional text but if I
hightlight the regular one the additional one is hightlighted too.
If I try to remove one or the other section from the xml file, I get
the same problem with another section, or even sometimes 2 !

I have tried everything and I can''t find any logical relation between
the changes I do and the results I get.

Is there anyone who has already seen something like this ??

thanks for your help !

Luc

推荐答案

21月21日,14:26,幸运 < lfe ... @nordnet.frwrote:
On 21 feb, 14:26, "lucky" <lfe...@nordnet.frwrote:

嗨大家好


你可能是我避免得到的最后机会疯狂


为了帮助您理解我的问题,我已将图像放在网上,显示我有的问题: http://www.australix.net/images/pb


我有一个包含链接的XML文件,我使用XSL文件使用链接构建一个

菜单。

我的菜单中实际上有2个级别,因为链接是有组织的

部分内。


加载菜单时,只显示部分标题(参见

第一张图片)。

我点击一个部分标题,该部分的链接显示

(见第二张图片),其他部分关闭。


但是当我点击第二部分时,链接显示为

应该是另外一个d不需要的空间出现在第4个部分下面,有一些字母(第四部分的最后一个字母

标题)显示在这个空格的底部(h发动机和QUOT;在

第三张图片上。

其他部分都工作正常。


我已经显示了页面的来源如果我搜索字符串

" Engines",我只得到一个结果,这是常规的第四部分

标题。此外,我不能高亮显示附加文字,但如果我

高亮常规版本,另外一个也会突出显示。

如果我尝试删除其中一个或另一个部分从xml文件中,我得到

与另一部分同样的问题,甚至有时候2个!


我已经尝试了一切,我找不到

之间的任何逻辑关系我做的改变和我得到的结果。


有没有人见过这样的东西?


感谢您的帮助!


Luc
Hi Guys

You are probably my last chance to avoid getting crazy

To help you understand my problem I have put images online showing the
issue I have:http://www.australix.net/images/pb

I have an XML file containing links and I use an XSL file to build a
menu using thoses links.
There is actually 2 levels in my menu as the links are organised
within sections.

When the menu is loaded, only the section headers are shown (see the
first image).
I you click on a section header, the links of the section are diplayed
(see the second image) and the other sections are closed.

But when I click on the second section, the links are displayed as it
should be but an additional and unwanted space appears below the fouth
section, with a few letters (the last letters of the fourth section
header) displayed at the bottom of this space ("h Engines" on the
third image).
The other sections are all working fine.

I have displayed the source of the page and if I search for the string
"Engines", I get only one result which is the regular fourth section
header. Moreover I can''t hightlight the additional text but if I
hightlight the regular one the additional one is hightlighted too.
If I try to remove one or the other section from the xml file, I get
the same problem with another section, or even sometimes 2 !

I have tried everything and I can''t find any logical relation between
the changes I do and the results I get.

Is there anyone who has already seen something like this ??

thanks for your help !

Luc



安装适用于Firefox的Web Developer Extension和使用查看源代码,

查看生成的源。
http ://chrispederick.com/work/webdeveloper/

Install the Web Developer Extension for Firefox and use View Source,
View Generated Source.
http://chrispederick.com/work/webdeveloper/


我使用IE开发人员工具栏,但我找不到额外的

文字。这就好像它不存在一样!


还有其他想法吗?
I use the IE developer toolbar but I''m not able to find the additional
text. It''s just as if it didn''t exist!

Any other idea?


lucky写道:
lucky wrote:

我使用IE开发人员工具栏,但我无法找到额外的

文本。就好像它不存在一样!
I use the IE developer toolbar but I''m not able to find the additional
text. It''s just as if it didn''t exist!



也许它不存在。


很难说没有要看的源文件,最好是一个

简化形式,只是演示你遇到麻烦的部分。

-

()ASCII Ribbon Campaign | Joe Kesselman

/ \标记HTML电子邮件! |系统架构和动态诗歌

Maybe it doesn''t exist.

Hard to say without having the source files to look at, preferably in a
simplified form that just demonstrates the part you''re having trouble with.
--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry


这篇关于XSL / XML的奇怪的diplay问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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