Subject: Re: [xsl] XSL If Statement - repost with code From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 26 Aug 2008 09:58:02 +0100 |
> Ok. Changing from WD-XSL to XSLT is one issue I have to deal with. > But more than that, I am confused about the below piece of code. Since you are using xsl then please switch to xsl first. You can't really expect us to comment on code written in some obsolete (now) undocumented microsoft specific language that even microsoft doesn't support any more. It may be that the code you posted doesn't do what you want, but we can't really help you as it's written in a language that noone uses anymore and so we can't really be expected to remember how it worked. Although I'll repeat what I said last time. Once you do fix the code to be xsl then you will need to change the select statements in the for-each from <xsl:for-each select="topic/detail"> ... <xsl:for-each select="topic/detail/table/state" > to <xsl:for-each select="topic/detail"> ... <xsl:for-each select="table/state" > as (presumably) the detail element that is current inside the outer loop has table children not topic children, For the same reason you will need to change <xsl:value-of select="topic/detail/tableheading1" /> to <xsl:value-of select="tableheading1" /> But that is exactly the advice I gave in the message that you quoted, but you apparently didn't change the code in that way. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSL If Statement - repost, Sumit Patki | Thread | [xsl] XSL flat genealogical structu, Vadim Verenich |
RE: [xsl] tennison-tests: trying to, Michael Kay | Date | Re: [xsl] Without DTD Mapping, Andrew Welch |
Month |