Re: XSL If Statement - repost with code
> 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. ________________________________________________________________________
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