Have you provided the file menu.xml for the XSLT processor? I guess you have not...:-)<xsl:for-each select="document('menu.xml')/menu/item">
What really makes me wonder here is that XML::LibXSLT gives fairly sane output, even without the menu.xml file. Now this is really strange! Though, I admit that I am not really an expert of XSLT....
Update: after setting the debug_callback for XML::LibXSLT it seems that the parser just silently ignores the missing file here (only noing that the for-each did not produce a node list). XML::XSLT appears to be much more picky here...
|Replies are listed 'Best First'.|
Re^6: XML::XSLT problem
by bosshoff (Novice) on Apr 24, 2005 at 22:28 UTC