[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Empty nodes and xsl:for-each select
Newsha Makooi wrote: > I am writing in regards to the output table on page 523 > of Michael Kay's XSLT, Programmer's Reference. Your questions should be asked on the xsl-list. See http://www.mulberrytech.com/xsl/xsl-list/index.html <xsl:for-each select="Team/Score" order-by="+ Name"> This indicates that you are not using an XSLT processor; you are probably using the old version of MSXML and are writing Dec 1998 Working Draft-era "XSL". See http://www.netcrucible.com/xslt/msxml-faq.htm because all bets are off until you upgrade. In XSLT, even if <Score/> elements are empty, selection of them will still succeed; the node-set identified in the select attribute of <xsl:for-each select="Team/Score"> will contain those empty element nodes. You can iterate through them and create empty table cells as you would expect. If you must use the old MSXML and the old XSL syntax, go straight to the microsoft.public.xml newsgroup for support. http://msdnnews.microsoft.com/ offers a browser-based newsreader if you need it. Good luck.
|
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
|