[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] embbed xml element value in a hidden form field
Subject: [xsl] embbed xml element value in a hidden form field
From: Insane User <michaelt@xxxxxxxx>
Date: Mon, 27 Mar 2006 15:37:58 -0800
|
Hi,
I'm trying to embed a XML value in my form:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ws="http://www.webserviceX.NET/"
exclude-result-prefixes="ws">
<xsl:template match="/"><html><body>
<form method='post' action='[[my web service..]]>'>
!-- the form stuff that seems to look and act good... -->
<xsl:value-of select="store/number"/> <!-- looks great -->
<input type='hidden' name='number' value='<xsl:value-of
select="store/number"' /> <!-- doesn't work -->
!-- the rest of the form stuff that seems to look and act
good... -->
</form></body></html></xsl:template></xsl:stylesheet>
Where can I read this solution on the web?
Regards,
Michael
|