Tim Van Wassenhove

Passionate geek, interested in Technology. Proud father of two

25 Jul 2005

value-of in an attribute

There were days that i did not like XSL because it seemed to be impossible to insert a value inside an attribute. For example:

<form action="<xsl:value-of select="/page/action"/>" method="post">

Today i’ve seen that other people also struggle with this issue. So here is the solution:

<form action="{/page/action}" method="post">