cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mohamed ramzy <m_ra...@yahoo.com>
Subject Xlink Problem....!!!
Date Mon, 26 Jun 2000 12:04:00 GMT
hi
i've written a simple XML file that includes Xlink,
but nothing happened only the word i want to be a link
is displayed on the Browser but as a normal word not a
link...

XML file
*********
<?xml version="1.0"?>
<?xml-stylesheet href="xtst.xsl" type="text/xsl"?>
<?cocoon-process type="xslt"?>
<tst>
<to xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:type="simple"
xlink:href="index.html">
Index
</to>
</tst>

XSL file
*********
<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/tst">
<html>
<head/>
<body>
<xsl:for-each select="to">
<xsl:apply-templates />
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>


i think i miss something in XSL.....
does any 1 has any idea..

Thanx in Advance

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

Mime
View raw message