[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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 -->
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
|
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
|