XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Arnt MobergSubject: set the name value in a textbox in xslt
Author: Arnt Moberg
Date: 17 Feb 2005 06:50 PM
Hi

I have the following problem. I have a textbox and I want the name
of the textbox to be the value of a node in a xml file

<input type="textbox" name="xsl:value-of select="@id"/>

Here the name is not the value of the @id-node but "xsl:value-of select="@id"

Does anyone know how I can fix this?

I would be very happy!!!

Posttop
Minollo I.Subject: set the name value in a textbox in xslt
Author: Minollo I.
Date: 17 Feb 2005 09:31 PM
What you want to use are attribute value templates (http://www.w3c.org/TR/xslt#attribute-value-templates):

<input type="textbox" name="{@id}/>

Hope this helps,
Minollo

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.