This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Creating an input form, XML -> XSLT -> HTML
- From: "Robert Koberg" <rob at koberg dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Sat, 29 Dec 2001 16:18:54 -0800
- Subject: Re: [xsl] Creating an input form, XML -> XSLT -> HTML
- References: <3C2E2117.DACB02F3@home.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
what is your xml and what xslt have you tried? perhaps you are having
problems with attribute-value-templates:
<INPUT NAME={@name} ..etc..>
----- Original Message -----
From: "Ron King" <roncking@home.com>
To: <XSL-List@lists.mulberrytech.com>
Sent: Saturday, December 29, 2001 12:01 PM
Subject: [xsl] Creating an input form, XML -> XSLT -> HTML
> Hi,
>
> I want to take XML and generate an input form using XSLT. In straight
> HTML, I would code this:
>
> <INPUT TYPE = "TEXT" NAME="FIRSTNAME" VALUE="JAMES" >
>
> My XML documents may have multiple occurances of names, so I can't
> hardcode "FIRSTNAME". I need to dynmically generate the NAME using
> generate-id(), right? I also would like to be able to generate a string
> that is the xpath representation of the XML data.
>
> My overall goal is to be able to identify the field name, and the xpath
> to the field so that I can process the results of the HTTP Request when
> it comes back from the browser using JXPATH, a tool for accessing java
> beans with the xpath syntax , understand.
>
> I've tried to code this, but I can't figure out how to do it! Please
> help me.
>
> Regards,
>
> Ron
>
>
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list