Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 11th, 2006, 05:42 PM
Friend of Wrox
 
Join Date: Jul 2006
Posts: 430
Thanks: 28
Thanked 5 Times in 5 Posts
Send a message via Yahoo to bonekrusher
Default <input> to Param or Variable

Hi,

Is it possible to pass the following user value input to a <xsl:Param or <xsl:Variable?

 <input type="field" size="18" name="get"/>

If so, I am not sure how to call up the name or id of the input field to use the value in a param or variable.

Thanks for the help.


 
Old October 11th, 2006, 06:00 PM
mhkay's Avatar
Wrox Author
 
Join Date: Apr 2004
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts
Default

What you can pass as a param value depends on the processor.

You could certainly pass this as a string, but that's not very helpful. It would be better to pass it as a parsed XML document. I think most processors will probably allow you to pass the root node of a DOM or similar tree as a stylesheet parameter, and then to use XPath expressions to navigate that tree. But you need to check the details for you particular product.

Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference





Similar Threads
Thread Thread Starter Forum Replies Last Post
embedded <xsl:element> into <xsl:with-param> petergoodman XSLT 2 July 9th, 2008 06:36 AM
Putting and input in <STDIN> ZORCH Perl 1 June 14th, 2007 09:58 AM
Is this possible <call-template name="$param"/>? rushman XSLT 2 April 12th, 2007 01:04 PM
dynamic <input> tag Val Javascript 1 September 6th, 2006 02:55 AM
how can i restore <input type="hidden"> 's value ? yamunchien ASP.NET 1.0 and 1.1 Basics 4 March 18th, 2006 08:45 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.