[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] testing for presence of a variable


Subject: Re: [xsl] testing for presence of a variable
From: Bruce D'Arcus <bdarcus@xxxxxxxxx>
Date: Fri, 6 May 2005 20:08:39 -0400

On May 6, 2005, at 7:22 PM, David Carlisle wrote:

Just declare the variable chapter with definition / (your suggested default was the empty sequence but I suspect that you meant / as otherwise paths starting at $root-node would all be empty) so that it can be used stand-alone, and when you import this styleshete into another styleshete the importing stylesheet can supply a non empty definition that will have higher import precedence.

That works; thanks!


Bruce


Current Thread