alex ek wrote:
<xsl:template match="input[(_at_)type='submit']">
<do type ="accept" label="submit">
<go href="ancestor::form[1][{(_at_)action}]"> <!--HERE I ACTUALLY WANT TO
TAKE THE VALUE OF ACTION ATTRIBUTE OF FORM FOR HREF AND METHOD FROM
METHOD OF FORM (initially tried for action only)BUT NOT GETTING HOW TO
RETRIVE THAT -->
Putting some random stuff into a file and then shouting around
because it doesn't do what you think it should do is a very
inefficient way to solve problems.
Get a good book about XSLT. The XSLT FAQ has a few pointers.
Perhaps buy Jeni Tennison's "Beginning XSLT" (ISBN 1861005946)
and take a week or two to work through it. You'll be much more
effective afterwards.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list