[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: Wed, 11 Sep 2002 21:55:10 +0200
Re:  Getting desired node on template match
alex ek wrote:
But please do not get angry.
I'm not angry. I just don't think that teaching XSLT from
the very basics by email is something I should do.
Anyway...

   <go href="action"> <!--HERE I ACTUALLY
WANT TO TAKE THE VALUE OF ACTION ATTRIBUTE OF FORM FOR HREF  AND
METHOD FROM METHOD OF FORM  -->

Take your XSLT book and reead again about the basic concepts. There are elemens which are instructions for the XSLT processor. All other elements get copied through to the output, including literal attributes. Your task: which elements are instructions for the XSLT processor. Is the go element above such a statement? What will happen if the template with the lement above is executed?

Next: you get something into the output which you don't want.
Why is the output the way it is?
You want data from the input XML. This means you have to tell
the XSLT processor to execute something to get it. Assuming
you know how it looks like, how do you get it executed and
the result (the data form the input XML) at the place where
you want it?
Hint: look up AVT (attribute value template) in your book.

Next: You have to construct the proper expression to get the
desired data. Hint: You have some part of it already in your
XSLT.

Did you actually write anything of the rest of the code you
posted?

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.