I was hoping to get some advice from the group on the "proper" way to acquire stylesheet parameters from a user and to use them in a transformation.
My plan is to have an HTML form (an XForm can come later) that collects the values for all sorts of parameters, such as... <xsl:param name="generate.index" select="1"/> <xsl:param name="toc.section.depth">2</xsl:param> ... and to collect these parameters once the form is submitted. I realize that there are a number of ways that I could do this, but I was hoping that the list could help me enumerate my choices and provide information on the strengths and weaknesses of each choice. One thing to keep in mind is that a number of these parameters are best represented as checkboxes, so I will have to deal with the usual problem of HTML form encoding :( This information is likely to be of use to other Cocoon users, so I will volunteer to collate and submit the results to the list. Thanks for any help. Jason Foster P.S. For those of you who are wondering, I'm trying to create a "Test Your DocBook" web page where you can upload your source file and have a PDF file returned. Thanks to Saxon and the new ability to specify a custom TransformerFactory on a per-pipeline basis, I've already got this partially working. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>