Hi! I have the follwing xml file
<page> <article> <header>foo</header> <leadin>bar</leadin> </article> <form> <text name="/page/article/header" size="60"/> </form> </page> and here some xslt snippets: <xsl:template match="text"> <input type="text" name="{@name}" size="{@size}"> <xsl:attribute name="value"><xsl:value-of select="@name"/></xsl:attribute> </input><br /> </xsl:template> then the output of the value field is "/page/article/header" What I want is the content of page/article/header in the value field. When I use this <input type="text" name="{@name}" size="{@size}"> <xsl:attribute name="value"><xsl:value-of select="/page/article/header"/></xsl:attribute> </input><br /> I get exactly what I want. value field contains "foo" Is it possible to get the content of a subnode in such a way? Have someone another solution for this kind of problem? Thanks, Gerhard --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>