Subject: RE: <input> tags in xsl. From: Mike Brown <mbrown@xxxxxxxxxxxxx> Date: Tue, 30 Nov 1999 17:02:13 -0700 |
David J. Kim wrote: > I know that to set some initial value into a text box > <input type="text" value="some_initialvalue"/> > I do this, but if the initial value is coming from a > xml file <myvalue>some_initialvalue</myvalue> how is > this possible. Depends on what the context node is, but if myvalue is a child element of the current one, <input type="text" value="{myvalue}"/> There are other ways to get to myvalue. Here are more examples: <input type="text" value="{/path/to/myvalue}"/> <xsl:variable name="val" select="/path/to/myvalue"/> <input type="text" value="{$val}"/> <!-- if context node is myvalue --> <input type="text" value="{.}"/> If you are using IE5, all bets are off. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
<input> tags in xsl., David J. Kim | Thread | RE: <input> tags in xsl., Richard Lander |
XT Sample Code?, David R. Loring | Date | RE: <input> tags in xsl., Richard Lander |
Month |