Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
XSLT Help and Discussion
»
set the name value in a textbox in xslt
Topic
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
next
Subject:
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!!!
top
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
Prev Topic
Next Topic
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 to Conference:
Select Conference
Stylus Studio Feature Requests
Stylus Studio Technical Forum
Website Feedback
XSLT Help and Discussion
XQuery Help and Discussion
Stylus Studio FAQs
Stylus Studio Code Samples & Utilities
Stylus Studio Announcements
go
Log In Options
Username:
Password:
Site Map
|
Privacy Policy
|
Terms of Use
|
Trademarks
Stylus Scoop XML Newsletter:
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.