Using xsl:copy-of is useful for diagnostics because it tells you what data has been returned. It's hard to write correct XSLT/XPath code unless you know what the data looks like. The reason your code produces no output is almost certainly because the document returned by doc() differs in some subtle way from the structure assumed by your XSLT/XPath processing code.
__________________
Michael Kay
http://www.saxonica.com/
Author, XSLT 2.0 and XPath 2.0 Programmer\'s Reference
|