Re: [xsl] How to use document() of doc() function with copy idiom, or how to acc

Subject: Re: [xsl] How to use document() of doc() function with copy idiom, or how to acc
From: "Colin Adams" <colinpauladams@xxxxxxxxxxx>
Date: Tue, 25 Jul 2006 15:43:37 +0100
From: Abel Braaksma Online <abel.online@xxxxxxxxx>

Colin, can you explain "initial template"? Does that mean: just a dummy XML file? Currenlty I supply the xslt file itself as input document. Not sure if that's so handy, though.

It means that you don't need a dummy XML file. Just change the template where you have match="/" to read name="initial" (or some other value you like), and then supply the name (initial, in this case) as the name of the initial template.


Michael Kay has already told you how to do this for Saxon.

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters


Current Thread