On 27/05/2010 00:07, I wrote:
this appears to be identical to your first question, you can not
evaluate / in a function body you need
<xsl:sequence selct="root($x)/n1:Document/n1:recordTarget/n1:patientRole"/>
where $x is a parameter to your function, and when you call the function
you need to pass in a node.
or if you only have one document of interest, $x need not be a parameter
to the function it can be a global variable defined at the top level of
the stylesheet to be (say) the root of the input document.
David
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--