b**l 发帖数: 63 | 1 In XML, I have
...
http://bbs.mit.edu
Unknow Space
...
I want to have
http://bbs.mit.edu">Unknow Space
In XSL, I used
...
">
...
It doesn't work.
Who know the answer? Thanks! |
b****e 发帖数: 1275 | 2 of course it doesn't work.. your xml isn't even
well formed.. how can it work.. hehe
【在 b**l 的大作中提到】 : In XML, I have : : ... : : http://bbs.mit.edu : Unknow Space : : ... : : I want to have
|
b**l 发帖数: 63 | 3 My XML file has no problem. it already includes
,
and it can show the text "http://bbs.mit.edu" if the text is
not
in tag . IE5 gives me the error message that
"<" can not be used in an attribute value. I thought the
problem
is that I should not use in tag
href=...>.
But I don't know how.
【在 b****e 的大作中提到】 : of course it doesn't work.. your xml isn't even : well formed.. how can it work.. hehe
|
r***e 发帖数: 38 | 4 hehe, I think breeze means your tag is not closed.
I am new to xml, but i happened to read sth might help you
The IE5 doesn't support XSL perfectly, for attribute template
you have to use sth like this:
try it.
【在 b**l 的大作中提到】 : My XML file has no problem. it already includes : , : and it can show the text "http://bbs.mit.edu" if the text is : not : in tag . IE5 gives me the error message that : "<" can not be used in an attribute value. I thought the : problem : is that I should not use in tag : href=...>. : But I don't know how.
|
b**l 发帖数: 63 | 5 It works. Thanks a lot!
【在 r***e 的大作中提到】 : hehe, I think breeze means your tag is not closed. : I am new to xml, but i happened to read sth might help you : The IE5 doesn't support XSL perfectly, for attribute template : you have to use sth like this: : : : try it.
|
k****o 发帖数: 58 | 6 You should use xsl:attribute like below.
select="linkurl"/>
【在 b**l 的大作中提到】 : In XML, I have : : ... : : http://bbs.mit.edu : Unknow Space : : ... : : I want to have
|