Re: xml data in an editable text field

Subject: Re: xml data in an editable text field
From: Michael Hoffmann <m-hoffmann@xxxxxx>
Date: Wed, 29 Nov 2000 08:08:08 +0100

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"

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 


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:

 XSL-List info and archive:

Current Thread