On Wednesday 12 June 2002 1:58 am, Murat �nalan wrote: > :: Simply put some kind of wrapper tag in there - lots of > :: people use <body> or > :: <page> or <output>. I hope that fixes it for you. > > Magically is worked without this "workaround". I left it > barely within the <xsp:page></xsp:page> stuff. > > PROBLEM: It was the stylesheets/perform_html.xsl from the AxKit1.6 dist > which was source of my problems. It simply converted all tags, without > copying the<form> tag. So all my tests resulted in a lot of <input> tags > without <form> (and thats why my submit button press failed). > > It wasn't the source-document, which made the problems. > > SOLUTION: I added following paragraph to the > stylesheets/perform_html.xsl, and all my tests work now. > > <xsl:template match="form"> > <xsl:copy> > <xsl:copy-of select="@*"/> > <xsl:apply-templates/> > </xsl:copy> > </xsl:template>
Ah, this is probably because most people don't use that stylesheet as-is, they include it in something larger: <xsl:include href="/stylesheets/perform_html.xsl"/> And the thing I personally had included it in already had a passthrough template as the default. I'll fix the template in PerForm's cvs. Thanks. Matt. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
