Subject: Re: [xsl] Getting desired node on template match From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Mon, 09 Sep 2002 19:44:31 +0200 |
<xsl:template match="input[@type='submit']">
<do type ="accept" label="submit">
<go href="ancestor::form[1][{@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.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Re: [xsl] Getting desired node , alex ek | Thread | Re: Re: [xsl] Getting desired node , alex ek |
Re: [xsl] XSL transform escape ques, David Carlisle | Date | Re: [xsl] CDATA section, Mike Brown |
Month |