[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Nesting for-each elements - Can it be done?
Thank you very much for your help. I'll update the processor as soon as possible and will look into using apply-templates as you suggest. Maybe this is another newbie question, but will the new processor work under Win2K/IIS5? I'm guessing it will, but it never hurts to ask. Chuck Evans -----Original Message----- From: Chris Eckert [mailto:ceckert@xxxxxxxxxxxxx] 1. First, update the MSXML processor to the XSLT compliant version. See the FAQ at http://www.netcrucible.com/xslt/msxml-faq.htm. This isn't why your transformation is failing, but most subscribers to the list use XSLT (not the MS specific dialect TR-WD) 2. The 2nd for-each is not matching any elements because their is no web_seminars child element of the current context node. The first for-each makes the context the web_seminars element. The second for-each is looking for the web_seminars child of the web_seminars element. None exists, so nothing is displayed. 3. You really should be using apply-templates instead of for-each. I have included a sample transformation that uses both, to illustrate the apply-templates approach. <snip> 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
|