Re: Why doesn test work in one case, but not another??
I wanted to write to you and tell you that I went back fo the Custom Web Publishing Guide from FMP to look at this again. It is in here that it shows you the error messages that result during the conversion process from CDML (it doesn't always tell you how to fix it - like with value lists - that one led me on a merry chase!!!). When I looked at this, I found how it says an If and Else were converted. However, in truth, the Converter did no such thing!!!
Amazingly, when I did it the correct way, it worked!!! I cannot explain why it worked in the one case, but will change that to the correct way as well.
This is what it should have said:
<xsl:when test="fmrs:field[@name = 'System']/fmrs:data = 'A'">
Thank you for you help and patience - thanks to your suggestion, I went back to look at where the answer was all along (I had stopped looking at that part of the book after the Value List conversion just gave an error message, but no real help).
Shirley,. have you checked out the filemaker documentation on the xml?
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