[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xml data in an editable text field
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|