[Home] [By Thread] [By Date] [Recent Entries]

  • From: Mike Smith <mike.smith@r...>
  • To: Han Chock Lee <clhan@g...>, xml-dev@x...
  • Date: Wed, 12 Jul 2000 09:37:29 +0100



. . . use an attribute value template:

<input type="text" name="anyname" size="30" maxlength="50"
value="{anyElement}"/>

where "anyElement" is a child of the selected node in your input document.

OR, if you need to select a node outside that currently selected:

<input type="text" name="anyname" size="30" maxlength="50">
<xsl:attribute name="value">
<xsl:value-of select="//anyElement"/>
</xsl:attribute>

. . . where you construct your own path to "anyElement"


mike



-----Original Message-----
From: Han Chock Lee [mailto:clhan@g...]
Sent: Wednesday, July 12, 2000 02:07
To: 'xml-dev@x...'
Subject: XSL stylesheet help !


	Hi,

	I am writing a stylesheet to get "anyname" to be filled in the input
text field tag
	< input type="text" name="anyname" size="2"/>.


	How can it be done in stylesheet ? Please help.




	Regards,
	CL


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member