Subject: Re: Re: [xsl] Getting desired node on template match From: "alex ek" <alexek@xxxxxxxxxxxxxx> Date: 21 Sep 2002 15:28:43 -0000 |
Did you actually write anything of the rest of the code you posted?
so thanks a lot alex
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Re: [xsl] Getting desired node , alex ek | Thread | RE: Re: [xsl] Getting desired node , James Fuller |
RE: [xsl] filter based on parameter, Michael Kay | Date | RE: Re: [xsl] Getting desired node , James Fuller |
Month |