|
[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[Recent Entries]
[Reply To This Message]
Re: Getting desired node on template match
Subject: Re: Getting desired node on template match
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Mon, 09 Sep 2002 19:44:31 +0200
|
alex ek wrote:
<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.
J.Pietschmann
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format
| RSS 2.0 |
|
| Atom 0.3 |
|
|