This is a very vague question.
you can globally add a parameter to the stylesheet
<xsl:param name="my-param"/>
and then you can pass a parameter to the stylmesheet
but I don't know if that is what you need
Main Topics
Browse All TopicsHi Guys,
Just a quick one, how do i put a hidden input/variable on the XSL? every time I have tried to put it in there it has given me a deparse error.
Below is my XSL sheet,
<input type="hidden" name="importmap" value="ewayCCresults"> <======== whenever this line is present I get a deparse error.
Could someone please help?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Ah, you edited your question from your original one... sometimes people start answering as soon as you post... please try to be complete from the beginning.
serrutom is right, XSL stylesheets need to be wellformed.
so you need to close the input tag with a "/"
It is important that you then set the serialisation method as "html" (as you do by the way)
<xsl:output method="html"/>
the serialiser will then take away the "/" when outputting the html
Can I pass the variable the other way? Essentially what I need to do, is once the data is has been transformed etc. I need to submit the form again, but when I hit submit, it doesn't transmit any of the text boxes that are in the XSL file. That was why I was trying to put a hidden variable in. That worked perfectly, but it still doesn't pass the data through when I click submit.
Have you any ideas??
Business Accounts
Answer for Membership
by: serrutomPosted on 2009-10-27 at 01:34:30ID: 25670114
close your input tag with a slash...
<input type="hidden" name="importmap" value="ewayCCresults"/>