RE: [xsl] test context node existence

Subject: RE: [xsl] test context node existence
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Fri, 27 Jun 2008 22:36:55 +0100
> Hello list,
> I have a stylesheet that sometimes run using an initial 
> context node and other times using an initial named template.
> What I need is a way to test if a context node exists, or 
> else I get a dynamic error when a call apply-templates, or 
> when I do any kind of node test.
> 

I don't think this can be done. Sorry!

Michael Kay
http://www.saxonica.com/

Current Thread