By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,719 Members | 1,466 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,719 IT Pros & Developers. It's quick & easy.

How Can I put XSL tag inside HTML form tag?

P: n/a
RC
Hello Dudes,
Sorry I couldn't find a XML/XSL group
I can only post these groups close to my subject.

In JSP (Java Server Page) you can do something
like this

<%
String v = myBean.getValue();
%>

<form .... >
<input name="myTag" value="<%= v %>">
</form>

You can do the similar thing in PHP.

But when I try in XSL I got error.

I have an XML file

<myTag attribute1="value1" />

Now I want to transform it into HTML form tag used XSL template
But XSL doesn't like this

<input name="myTag" value='
<xsl:value-of select="@attribute1" />
'></input>

How can I solve this problem?
Thank Q very much in advance!
Jul 17 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a

RC wrote:
Hello Dudes,
Sorry I couldn't find a XML/XSL group


comp.text.xml

Ken

Jul 17 '05 #2

P: n/a

RC wrote:
Hello Dudes,
Sorry I couldn't find a XML/XSL group


comp.text.xml

Ken

Jul 17 '05 #3

P: n/a
RC wrote:
Hello Dudes,
Sorry I couldn't find a XML/XSL group
I can only post these groups close to my subject.

In JSP (Java Server Page) you can do something
like this

<%
String v = myBean.getValue();
%>

<form .... >
<input name="myTag" value="<%= v %>">
</form>

You can do the similar thing in PHP.

But when I try in XSL I got error.

I have an XML file

<myTag attribute1="value1" />

Now I want to transform it into HTML form tag used XSL template
But XSL doesn't like this

<input name="myTag" value='
<xsl:value-of select="@attribute1" />
'></input>

How can I solve this problem?
Thank Q very much in advance!


<input>
<attribute name="mytag">
<xsl:value-of select=@attribute1 />
</attribute>
</input>

or something like this.
Jul 17 '05 #4

P: n/a
RC wrote:
Hello Dudes,
Sorry I couldn't find a XML/XSL group
I can only post these groups close to my subject.

In JSP (Java Server Page) you can do something
like this

<%
String v = myBean.getValue();
%>

<form .... >
<input name="myTag" value="<%= v %>">
</form>

You can do the similar thing in PHP.

But when I try in XSL I got error.

I have an XML file

<myTag attribute1="value1" />

Now I want to transform it into HTML form tag used XSL template
But XSL doesn't like this

<input name="myTag" value='
<xsl:value-of select="@attribute1" />
'></input>

How can I solve this problem?
Thank Q very much in advance!


<input>
<attribute name="mytag">
<xsl:value-of select=@attribute1 />
</attribute>
</input>

or something like this.
Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.