Hey, hopefully someone will be able to help me out here.
Say I have an XML file like this:
<ans:color xmlns:ans="namespace_location">
green
</ans:color>
<ans:color xmlns:ans="namespace_location">
blue
</ans:color>
And I want to produce HTML like this:
<html>
<body>
<font color="green">
some text
</font>
<font color="blue">
some text
</font>
</body>
</html>
I think I do something like this:
<xsl:for-each select="/">
<font color="{{/namespace_location}color}">
some text
</font>
</xsl:for-each>
But it doesn't work! :'(
I must be wrong on the syntax I think.
Any help would be much appreciated.
Thanks, Seby.
-- Sebastian Krueger
-- 205 Aro St, Aro Valley, Wellington, New Zealand
-- Phone:+64 4 3844458
-- Mobile:+64 21 1781826