[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
Re:  Getting desired node on template match
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.