| Subject: Re: xml data in an editable text field From: Michael Hoffmann <m-hoffmann@xxxxxx> Date: Wed, 29 Nov 2000 08:08:08 +0100 | 
tim
try something like
<form name="author" onSubmit="0">
    	<input type="text">
    		<xsl:attribute name="name">authorname</xsl:attribute>
    		<xsl:attribute name="size">20</xsl:attribute>
    		<xsl:attribute name="value"><xsl:value-of select="author/name"
/></xsl:attribute>
    	</input>
</form>
this generates a textfiled with the "author" name in it... its editable
and you
have to playd with "submit" if u want to pass the changed text...
hope this helps 
michael
Tim Brady wrote:
> 
> I am trying to put XML data in an editable text field.  Here is a sample
> of the XML data:
> <Contact>
> <combinedName>Bob Smith</combinedName>
> <company>Acme</company>
> <title>President</title>
> </Contact>
> 
> Here is some code from my XSL file:
> <xsl:template match="/">
> 
> <xsl:for-each select="Contact">
> 
> <xsl:value-of select="combinedName"/>
> 
> </xsl:for-each>
> 
> What I want to be able to do is to put the combinedName into an editable
> text field like this:
> <input type="text" name="combinedName" value="Bob Smith"/>
> 
> How do I write that in my XSL file?
> 
> Thanks,
> Tim
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| xml data in an editable text field, Tim Brady | Thread | URL stroke passing in XSL, Albert Tsun | 
| Re: a key of attributes, Miloslav Nic | Date | Re: Listing single occurrences of n, Michael Hoffmann | 
| Month |