hi all,
i do have a xml made this way :
i'd like in my xsl to do this :
create in the page a <a href="......"> with the value that is in the <url> tag.
i tryed this :
<<a href='<xsl:value-of select="link"/>' >
thet problem is that it displays me the code line in the page in stead of creating a link
and if i put :
<a href='<xsl:value-of select="icon"/>' >
directly it tells me file not well formed.
what can i do ?
Best regards X-),
Elise
i do have a xml made this way :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE results SYSTEM "test.dtd">
<?xml-stylesheet type="text/xsl" href="search.xsl"?>
<results dbname="Sales & Marketings">
<searchview name="AllDocs">
<result>
<url>[URL unfurl="true"]http://etc</url>[/URL]
<icon>4</icon>
<icon>5</icon>
<description>abcdef</description>
</result>
<result>
<url>[URL unfurl="true"]http://etc</url>[/URL]
<description>jaehdeg</description>
</result>
<result>
<url>[URL unfurl="true"]http://etc</url>[/URL]
<icon>5</icon>
<description>adhthsdgz</description>
</result>
</searchview>
</results>
i'd like in my xsl to do this :
create in the page a <a href="......"> with the value that is in the <url> tag.
i tryed this :
<<a href='<xsl:value-of select="link"/>' >
thet problem is that it displays me the code line in the page in stead of creating a link
and if i put :
<a href='<xsl:value-of select="icon"/>' >
directly it tells me file not well formed.
what can i do ?
Best regards X-),
Elise