View Single Post
  #6 (permalink)  
Old November 17th, 2008, 05:00 PM
mhkay's Avatar
mhkay mhkay is offline
Wrox Author
Points: 18,487, Level: 59
Points: 18,487, Level: 59 Points: 18,487, Level: 59 Points: 18,487, Level: 59
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Apr 2004
Location: Reading, Berks, United Kingdom.
Posts: 4,962
Thanks: 0
Thanked 292 Times in 287 Posts

>I tried thr following XSL code and found that "Hello World" displayed, but nothing else.

Difficult without seeing your source document (and since it looks like HL7 I would really rather not see it, it would spoil my evening). On the surface, the xsl:for-each has selected an element, the xsl:copy-of must therefore copy the element. So I think it has to be the conclusion: the bug is not in the code you have shown us, so it must be somewhere else. Your next step is to put together a demonstration of the problem that is complete enough for anyone to run, but concise enough to make that a practical proposition. At least you've now eliminated the extension function call as irrelevant to the problem.

Michael Kay
Author, XSLT 2.0 and XPath 2.0 Programmer's Reference
Reply With Quote